X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=bundle.c;h=d9cfd90534b6b6b0659576d5a71d1fa216bfa6b5;hb=HEAD;hp=6c4695eb9103efe3e825ce20303bd220bc6f8827;hpb=efe4be12490ab684786c48135731c4d2648bbecc;p=git.git diff --git a/bundle.c b/bundle.c index 6c4695eb9..d9cfd9053 100644 --- 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;