diff options
author | Christian Couder <chriscool@tuxfamily.org> | 2014-11-09 12:23:42 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-11-10 21:00:02 +0300 |
commit | 61cfef4ca4bdacbb90866fa8fd0e0f0b16b2cafc (patch) | |
tree | 75f68e68c37708205075003845e1ff8566fd1ef9 /t/t7513-interpret-trailers.sh | |
parent | 8c3845892363abf3fb5cf2fe61bc455554f50c68 (diff) |
trailer: reuse ignore_non_trailer() to ignore conflict lines
Make sure we look for trailers before any conflict line
by reusing the ignore_non_trailer() function.
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7513-interpret-trailers.sh')
-rwxr-xr-x | t/t7513-interpret-trailers.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t7513-interpret-trailers.sh b/t/t7513-interpret-trailers.sh index 1efb88051a..fed053a7ec 100755 --- a/t/t7513-interpret-trailers.sh +++ b/t/t7513-interpret-trailers.sh @@ -232,6 +232,8 @@ test_expect_success 'with message that has comments' ' Reviewed-by: Johan Cc: Peff + # last comment + EOF cat basic_patch >>expected && git interpret-trailers --trim-empty --trailer "Cc: Peff" message_with_comments >actual && |