connect: teach client to recognize v1 server response
[gitweb.git] / worktree.c
index 389e2e952cb92fbf1f42b717310ed186fc704eb5..8aaeea03771cfefa9edd019d0dc5146fef17a9c7 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;