Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
sha1_name.c: restructure disambiguation of short names
[gitweb.git]
/
bundle.c
diff --git
a/bundle.c
b/bundle.c
index 8a1d53ba29a434139123bd7d4e37db47ba8728cb..b8acf3c18b600f1f413f95744ad281e3879b3f6e 100644
(file)
--- a/
bundle.c
+++ b/
bundle.c
@@
-320,7
+320,7
@@
int create_bundle(struct bundle_header *header, const char *path,
continue;
if (dwim_ref(e->name, strlen(e->name), sha1, &ref) != 1)
continue;
- if (
!resolve_ref
(e->name, sha1, 1, &flag))
+ if (
read_ref_full
(e->name, sha1, 1, &flag))
flag = 0;
display_ref = (flag & REF_ISSYMREF) ? e->name : ref;