summaryrefslogtreecommitdiffstats
path: root/t/t4014-format-patch.sh
diff options
context:
space:
mode:
authorDaniel Barkalow <barkalow@iabervon.org>2008-02-19 08:40:31 +0100
committerJunio C Hamano <gitster@pobox.com>2008-02-20 06:49:38 +0100
commit7d22708b254d4ec28cd865dc5489d175ee6d65c2 (patch)
tree378316b8f3dd966c90d8889de5fd1cb5c23a323d /t/t4014-format-patch.sh
parentAdd tests for extra headers in format-patch (diff)
downloadgit-7d22708b254d4ec28cd865dc5489d175ee6d65c2.tar.xz
git-7d22708b254d4ec28cd865dc5489d175ee6d65c2.zip
Fix format.headers not ending with a newline
Now each value of format.headers will always be treated as a single valid header, and newlines will be inserted between them as needed. Signed-off-by: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4014-format-patch.sh')
-rwxr-xr-xt/t4014-format-patch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4014-format-patch.sh b/t/t4014-format-patch.sh
index 28ab7b9a53..755fe6dfa6 100755
--- a/t/t4014-format-patch.sh
+++ b/t/t4014-format-patch.sh
@@ -101,7 +101,7 @@ test_expect_success 'extra headers' '
'
-test_expect_failure 'extra headers without newlines' '
+test_expect_success 'extra headers without newlines' '
git config --replace-all format.headers "To: R. E. Cipient <rcipient@example.com>" &&
git config --add format.headers "Cc: S. E. Cipient <scipient@example.com>" &&