]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'pb/ref-filter-with-crlf'
authorJunio C Hamano <gitster@pobox.com>
Mon, 9 Nov 2020 22:06:26 +0000 (14:06 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Nov 2020 22:06:26 +0000 (14:06 -0800)
A commit and tag object may have CR at the end of each and
every line (you can create such an object with hash-object or
using --cleanup=verbatim to decline the default clean-up
action), but it would make it impossible to have a blank line
to separate the title from the body of the message.  Be lenient
and accept a line with lone CR on it as a blank line, too.

* pb/ref-filter-with-crlf:
  log, show: add tests for messages containing CRLF
  ref-filter: handle CRLF at end-of-line more gracefully


Trivial merge