Merge branch 'mh/blame-worktree'
[gitweb.git] / t / helper / test-submodule-config.c
index 2cffded116f77d7c62ee718fa08558b52574a205..61049b87a07c638a9211b11484c503ffc56a1f9e 100644 (file)
@@ -49,7 +49,7 @@ int cmd_main(int argc, const char **argv)
                path_or_name = arg[1];
 
                if (commit[0] == '\0')
-                       hashcpy(commit_sha1, null_sha1);
+                       hashclr(commit_sha1);
                else if (get_sha1(commit, commit_sha1) < 0)
                        die_usage(argc, argv, "Commit not found.");