]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'pw/add-patch-with-suppress-blank-empty'
authorJunio C Hamano <gitster@pobox.com>
Wed, 31 Jul 2024 20:34:17 +0000 (13:34 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 31 Jul 2024 20:34:17 +0000 (13:34 -0700)
"git add -p" by users with diff.suppressBlankEmpty set to true
failed to parse the patch that represents an unmodified empty line
with an empty line (not a line with a single space on it), which
has been corrected.

* pw/add-patch-with-suppress-blank-empty:
  add-patch: use normalize_marker() when recounting edited hunk
  add-patch: handle splitting hunks with diff.suppressBlankEmpty

1  2 
add-patch.c
t/t3701-add-interactive.sh

diff --cc add-patch.c
Simple merge
Simple merge