Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
l10n: Review zh_CN translation for Git 1.7.10-rc1
[gitweb.git]
/
bundle.c
diff --git
a/bundle.c
b/bundle.c
index 6c4695eb9103efe3e825ce20303bd220bc6f8827..d9cfd90534b6b6b0659576d5a71d1fa216bfa6b5 100644
(file)
--- a/
bundle.c
+++ b/
bundle.c
@@
-304,7
+304,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;