]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/reset.c
Merge branch 'js/t0001-case-insensitive'
[thirdparty/git.git] / builtin / reset.c
index 26ef9a7bd03ac8925e1cb350c49e5e327999ba52..c2bb35a4b7048c94f79057ed3db4cbdd30a28504 100644 (file)
@@ -421,7 +421,7 @@ int cmd_reset(int argc, const char **argv, const char *prefix)
                        print_new_head_line(lookup_commit_reference(the_repository, &oid));
        }
        if (!pathspec.nr)
-               remove_branch_state(the_repository);
+               remove_branch_state(the_repository, 0);
 
        return update_ref_status;
 }