upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/bin/ngit/cli.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-02-27 17:17:12 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-02-27 17:19:20 +0000
commite7d7f933cd7eac19434f09096a311adeb5e60747 (patch)
tree898c28edec9555f8ef66b0b629de9dea5a535541 /src/bin/ngit/cli.rs
parent7ca0db29952ddbb27d74e30937562210cfbba56a (diff)
fix: skip ^{} peeled-tag refs in sync to prevent invalid refspec crash
Regression introduced in 28ad5440: ngit sync crashed with 'invalid refspec refs/remotes/origin/v1.4.4^{}:refs/tags/v1.4.4^{}' on repos with annotated tags. Fixed by guarding all three iteration sites in sync.rs and identify_remote_sync_issues in list.rs; also corrected the always-false logic bug in invalid_nostr_state_ref.
Diffstat (limited to 'src/bin/ngit/cli.rs')
0 files changed, 0 insertions, 0 deletions