]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t3200-branch.sh
Merge branch 'al/t3200-back-on-a-branch'
[thirdparty/git.git] / t / t3200-branch.sh
index 4c0734157ba0b88432ec583321bdb2143f0c4461..028c88d1b24efc945fb605360eda51a86f60bd36 100755 (executable)
@@ -1287,6 +1287,7 @@ test_expect_success 'detect typo in branch name when using --edit-description' '
 '
 
 test_expect_success 'refuse --edit-description on unborn branch for now' '
+       test_when_finished "git checkout master" &&
        write_script editor <<-\EOF &&
                echo "New contents" >"$1"
        EOF