mirror of
https://github.com/git-for-windows/git.git
synced 2026-05-02 08:03:45 -05:00
Yes, yes, this is supposed to be only a band-aid option for `git add -p` not Doing The Right Thing. But as long as we carry the `--allow-overlap` option, we might just as well get it right. This fixes the case where one hunk inserts a line before the first one, and a hunk whose context overlaps with the first one's appends a line at the end. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
131 KiB
131 KiB