diff options
author | Daniel Barkalow <barkalow@iabervon.org> | 2008-02-19 02:40:31 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-19 21:49:38 -0800 |
commit | 7d22708b254d4ec28cd865dc5489d175ee6d65c2 (patch) | |
tree | 378316b8f3dd966c90d8889de5fd1cb5c23a323d /t/t4014-format-patch.sh | |
parent | a8d8173e6c7ff85627377389e40844ec71206f5e (diff) | |
download | git-7d22708b254d4ec28cd865dc5489d175ee6d65c2.tar.gz |
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-x | t/t4014-format-patch.sh | 2 |
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>" && |