diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2016-11-21 15:18:29 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-11-21 11:00:41 -0800 |
commit | 882cd23777f8984e433e0c0addae5e9d70de75e8 (patch) | |
tree | b20cadd5fcccd7543ac7087337611421d0064d00 /t/t3404-rebase-interactive.sh | |
parent | stripspace: respect repository config (diff) | |
download | tgif-882cd23777f8984e433e0c0addae5e9d70de75e8.tar.xz |
rebase -i: handle core.commentChar=auto
When 84c9dc2 (commit: allow core.commentChar=auto for character auto
selection, 2014-05-17) extended the core.commentChar functionality to
allow for the value 'auto', it forgot that rebase -i was already taught to
handle core.commentChar, and in turn forgot to let rebase -i handle that
new value gracefully.
Reported by Taufiq Hoven.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3404-rebase-interactive.sh')
-rwxr-xr-x | t/t3404-rebase-interactive.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3404-rebase-interactive.sh b/t/t3404-rebase-interactive.sh index d941f0a69f..5d0a7dca9d 100755 --- a/t/t3404-rebase-interactive.sh +++ b/t/t3404-rebase-interactive.sh @@ -983,7 +983,7 @@ test_expect_success 'rebase -i respects core.commentchar' ' test B = $(git cat-file commit HEAD^ | sed -ne \$p) ' -test_expect_failure 'rebase -i respects core.commentchar=auto' ' +test_expect_success 'rebase -i respects core.commentchar=auto' ' test_config core.commentchar auto && write_script copy-edit-script.sh <<-\EOF && cp "$1" edit-script |