Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
search_for_subdir(): return (ref_dir *) instead of (ref_entry *)
[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;