]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'pw/add-patch-with-suppress-blank-empty' into maint-2.46
authorJunio C Hamano <gitster@pobox.com>
Fri, 16 Aug 2024 19:50:53 +0000 (12:50 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 16 Aug 2024 19:50:54 +0000 (12:50 -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