log, show: add tests for messages containing CRLF
commite2f89586fa6d22bfb176e2f679584464fa1a282d
authorPhilippe Blain <levraiphilippeblain@gmail.com>
Thu, 29 Oct 2020 12:48:29 +0000 (29 12:48 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 29 Oct 2020 19:57:45 +0000 (29 12:57 -0700)
tree87015fbde1abee002474c94a8ae10ccd1879f5db
parent9f75ce3d8f2666ea82913a88d7068f28893b23a8
log, show: add tests for messages containing CRLF

A previous commit adjusted the code in ref-filter.c so that messages
containing CRLF are now correctly parsed and displayed.

Add tests to also check that `git log` and `git show` correctly handle
such messages, to prevent futur regressions if these commands are
refactored to use the ref-filter API.

Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3920-crlf-messages.sh