Start post 2.2 cycle
[gitweb.git] / builtin / fmt-merge-msg.c
index 79df05ef526bcd1a3be2971c9d467a930001639d..37177c6c2928b926cf55cacfdcfcf033bf012e80 100644 (file)
@@ -602,7 +602,7 @@ int fmt_merge_msg(struct strbuf *in, struct strbuf *out,
 
        /* get current branch */
        current_branch = current_branch_to_free =
-               resolve_refdup("HEAD", head_sha1, 1, NULL);
+               resolve_refdup("HEAD", RESOLVE_REF_READING, head_sha1, NULL);
        if (!current_branch)
                die("No current branch");
        if (starts_with(current_branch, "refs/heads/"))