diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-12-04 15:36:17 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-12-04 15:36:17 +0000 |
| commit | e00f712fb09d2a55fbfd36696f3725bc44c140f5 (patch) | |
| tree | d937f121f70050bbda40830df56e952cbeb5860c /src/lib/git/mod.rs | |
| parent | d2478dbca6c5d3f61331ceabe20c6d9315cd6840 (diff) | |
fix: `ngit` load correct repo address
git-remote-nostr is always called with a nostr remote that specifies
a single repository coordinate whereas `ngit` commands need to
discover this.
this change moves from getting this value from the following places
in priority order:
1. git config item `nostr.repo`
2. first nostr remote discovered
2. maintainers.yaml
3. prompt the user
to:
1. nostr remote - if multiple, prompt the user to select
2. git config item `nostr.repo`
3. maintainers.yaml - removing the legacy format
4. prompt the user - now with support for nostr remote format
Diffstat (limited to 'src/lib/git/mod.rs')
0 files changed, 0 insertions, 0 deletions