diff options
Diffstat (limited to 'src/bin')
| -rw-r--r-- | src/bin/git_remote_nostr/list.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/git_remote_nostr/list.rs b/src/bin/git_remote_nostr/list.rs index ea29531..c27e4d2 100644 --- a/src/bin/git_remote_nostr/list.rs +++ b/src/bin/git_remote_nostr/list.rs | |||
| @@ -299,7 +299,8 @@ fn list_from_remote_url( | |||
| 299 | head.name().to_string(), | 299 | head.name().to_string(), |
| 300 | format!("ref: {symbolic_reference}"), | 300 | format!("ref: {symbolic_reference}"), |
| 301 | ); | 301 | ); |
| 302 | } else { | 302 | // ignore dereferenced tags |
| 303 | } else if !head.name().to_string().ends_with("^{}") { | ||
| 303 | state.insert(head.name().to_string(), head.oid().to_string()); | 304 | state.insert(head.name().to_string(), head.oid().to_string()); |
| 304 | } | 305 | } |
| 305 | } | 306 | } |