]> git.ipfire.org Git - thirdparty/git.git/blobdiff - wt-status.c
Tell between packed, unpacked and symbolic refs.
[thirdparty/git.git] / wt-status.c
index 050922df54de483cf7112aeb397fc555e4eb2310..d8e284c311cb480f77085b0ba563cfa999920a43 100644 (file)
@@ -41,7 +41,7 @@ void wt_status_prepare(struct wt_status *s)
 
        s->is_initial = get_sha1("HEAD", sha1) ? 1 : 0;
 
-       head = resolve_ref("HEAD", sha1, 0);
+       head = resolve_ref("HEAD", sha1, 0, NULL);
        s->branch = head ? xstrdup(head) : NULL;
 
        s->reference = "HEAD";