diff options
Diffstat (limited to 'http-backend.c')
-rw-r--r-- | http-backend.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/http-backend.c b/http-backend.c index 404e682593..9977c5d499 100644 --- a/http-backend.c +++ b/http-backend.c @@ -412,7 +412,9 @@ static int show_head_ref(const char *refname, const unsigned char *sha1, if (flag & REF_ISSYMREF) { unsigned char unused[20]; - const char *target = resolve_ref_unsafe(refname, unused, 1, NULL); + const char *target = resolve_ref_unsafe(refname, + RESOLVE_REF_READING, + unused, NULL); const char *target_nons = strip_namespace(target); strbuf_addf(buf, "ref: %s\n", target_nons); |