]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t3200-branch.sh
Merge branch 'jc/branch-description-unset' into maint-2.38
[thirdparty/git.git] / t / t3200-branch.sh
index 88b9c56e5cb0676ec61283eaffd2121eb73c4ce5..c7ec1c752087ef3f255425f3e735d6ab651f6e30 100755 (executable)
@@ -1382,6 +1382,9 @@ test_expect_success 'branch --delete --force removes dangling branch' '
 '
 
 test_expect_success 'use --edit-description' '
+       EDITOR=: git branch --edit-description &&
+       test_must_fail git config branch.main.description &&
+
        write_script editor <<-\EOF &&
                echo "New contents" >"$1"
        EOF