Merge branch 'jc/custom-comment-char'
Allow a configuration variable core.commentchar to customize the character used to comment out the hint lines in the edited text from the default '#'. * jc/custom-comment-char: Allow custom "comment char"
This commit is contained in:
@ -517,4 +517,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
|
||||
|
Reference in New Issue
Block a user