Merge branch 'av/wincred-with-at-in-username-fix' into maint
[gitweb.git] / builtin / blame.c
index 699109b4a9d7663c0f4eebb82e349e3778c2730d..0374fe8056acfe193d2cbd5c553b3de889b788fe 100644 (file)
@@ -2286,7 +2286,7 @@ static struct commit *fake_working_tree_commit(struct diff_options *opt,
        commit->date = now;
        parent_tail = &commit->parents;
 
-       if (!resolve_ref_unsafe("HEAD", head_sha1, 1, NULL))
+       if (!resolve_ref_unsafe("HEAD", RESOLVE_REF_READING, head_sha1, NULL))
                die("no such ref: HEAD");
 
        parent_tail = append_parent(parent_tail, head_sha1);