mbox series

[0/2] builtin add -p: fix hunk splitting

Message ID pull.1100.git.1640010777.gitgitgadget@gmail.com (mailing list archive)
Headers show
Series builtin add -p: fix hunk splitting | expand

Message

Jean-Noël Avila via GitGitGadget Dec. 20, 2021, 2:32 p.m. UTC
Fix a small regression in the hunk splitting of the builtin version compared
to the perl version. Thanks to Szeder for the easy to follow bug report.

Phillip Wood (2):
  t3701: clean up hunk splitting tests
  builtin add -p: fix hunk splitting

 add-patch.c                |  7 ++++++
 t/t3701-add-interactive.sh | 48 ++++++++++++++++++++++++++++++++++----
 2 files changed, 50 insertions(+), 5 deletions(-)


base-commit: cd3e606211bb1cf8bc57f7d76bab98cc17a150bc
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1100%2Fphillipwood%2Fwip%2Fadd-p-fix-hunk-splitting-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1100/phillipwood/wip/add-p-fix-hunk-splitting-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1100