t5601: add more test cases for IPV6
[gitweb.git] / http-backend.c
index e3e0dda0b8ee8ec94df3639c7b74d420e0144468..b6c0484fb24de853ac205233e4e07d2e4e94ed75 100644 (file)
@@ -409,7 +409,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);