upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/bin/git_remote_nostr
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/git_remote_nostr')
-rw-r--r--src/bin/git_remote_nostr/push.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/bin/git_remote_nostr/push.rs b/src/bin/git_remote_nostr/push.rs
index fc82796..1645ae8 100644
--- a/src/bin/git_remote_nostr/push.rs
+++ b/src/bin/git_remote_nostr/push.rs
@@ -1391,10 +1391,7 @@ fn update_remote_refs_pushed(
1391 1391
1392fn refspec_to_from_to(refspec: &str) -> Result<(&str, &str)> { 1392fn refspec_to_from_to(refspec: &str) -> Result<(&str, &str)> {
1393 if !refspec.contains(':') { 1393 if !refspec.contains(':') {
1394 bail!( 1394 bail!("refspec should contain a colon (:) but consists of: {refspec}");
1395 "refspec should contain a colon (:) but consists of: {}",
1396 refspec
1397 );
1398 } 1395 }
1399 let parts = refspec.split(':').collect::<Vec<&str>>(); 1396 let parts = refspec.split(':').collect::<Vec<&str>>();
1400 Ok(( 1397 Ok((