]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t7502-commit.sh
Allow custom "comment char"
[thirdparty/git.git] / t / t7502-commit.sh
index 1a5cb6983c527b6d3e1ad6fad427d3513e8704b1..6a2c67cd1adc833f3914469db2461c273a5506c8 100755 (executable)
@@ -447,4 +447,11 @@ use_template="-t template"
 
 try_commit_status_combo
 
+test_expect_success 'commit --status with custom comment character' '
+       test_when_finished "git config --unset core.commentchar" &&
+       git config core.commentchar ";" &&
+       try_commit --status &&
+       test_i18ngrep "^; Changes to be committed:" .git/COMMIT_EDITMSG
+'
+
 test_done