]> git.ipfire.org Git - thirdparty/git.git/blobdiff - worktree.c
test-path-utils: offer to run a protectNTFS/protectHFS benchmark
[thirdparty/git.git] / worktree.c
index e28ffbeb096a85d67b2e885c48ab096340b5d295..c0c5a2b3735c89fc98d7aa29863eb4a28651d808 100644 (file)
@@ -30,7 +30,7 @@ static void add_head_info(struct worktree *wt)
 
        target = refs_resolve_ref_unsafe(get_worktree_ref_store(wt),
                                         "HEAD",
-                                        RESOLVE_REF_READING,
+                                        0,
                                         wt->head_sha1, &flags);
        if (!target)
                return;