Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
checkout.h: wrap the arguments to unique_tracking_name()
[gitweb.git]
/
refspec.c
diff --git
a/refspec.c
b/refspec.c
index c59a4ccf1e5d689b6f9cff00ee695a7ec4e40870..ada7854f7a6a55a783cf90574e1d759f5c3a661f 100644
(file)
--- a/
refspec.c
+++ b/
refspec.c
@@
-202,6
+202,8
@@
void refspec_ref_prefixes(const struct refspec *rs,
const struct refspec_item *item = &rs->items[i];
const char *prefix = NULL;
+ if (item->exact_sha1)
+ continue;
if (rs->fetch == REFSPEC_FETCH)
prefix = item->src;
else if (item->dst)