]> git.ipfire.org Git - thirdparty/git.git/commit
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)
commit4c7eb63d2d4ad6d88a336357baaa6a934b604eda
tree0cfe6db723707b9930bbbf48c999aa4be8c00078
parent92d6bd2e9064200b14f3730b674eb8eb7b7cd50e
parente2f89586fa6d22bfb176e2f679584464fa1a282d
Merge branch 'pb/ref-filter-with-crlf'

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