]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t6030-bisect-porcelain.sh
Merge branch 'vd/fsck-submodule-url-test'
[thirdparty/git.git] / t / t6030-bisect-porcelain.sh
index 792c1504bcc7bd89ce1f6a3b040e197ec222c054..561080bf240d6d5de7b557c6332995846f60e56e 100755 (executable)
@@ -170,6 +170,12 @@ test_expect_success 'bisect reset when not bisecting' '
        cmp branch.expect branch.output
 '
 
+test_expect_success 'bisect reset cleans up even when not bisecting' '
+       echo garbage >.git/BISECT_LOG &&
+       git bisect reset &&
+       test_path_is_missing .git/BISECT_LOG
+'
+
 test_expect_success 'bisect reset removes packed refs' '
        git bisect reset &&
        git bisect start &&