tree-diff: remove special-case diff-emitting code for empty-tree cases
[gitweb.git] / t / t7501-commit.sh
index f04798f87232fbbf705dd8a24300a76a2a6e435a..94eec83b37f38699af91b3808051515f267f3a5f 100755 (executable)
@@ -57,6 +57,7 @@ test_expect_success 'using invalid commit with -C' '
 '
 
 test_expect_success 'nothing to commit' '
+       git reset --hard &&
        test_must_fail git commit -m initial
 '