]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'rs/xdiff-merge-overlapping-hunks-for-W-context' into maint
authorJunio C Hamano <gitster@pobox.com>
Thu, 29 Sep 2016 23:49:39 +0000 (16:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 29 Sep 2016 23:49:39 +0000 (16:49 -0700)
commitef4f0cad4ba2340d02e79f60a5b5a308048222c7
tree17ff9af698e5d38d17e9cc7d06e46ad0413f1f9a
parente007a094d49d58105a93a22bd4e6d33f6b3eacbd
parent45d2f75f913c0545be473db1dc2595a1600413f5
Merge branch 'rs/xdiff-merge-overlapping-hunks-for-W-context' into maint

"git diff -W" output needs to extend the context backward to
include the header line of the current function and also forward to
include the body of the entire current function up to the header
line of the next one.  This process may have to merge to adjacent
hunks, but the code forgot to do so in some cases.

* rs/xdiff-merge-overlapping-hunks-for-W-context:
  xdiff: fix merging of hunks with -W context and -u context
xdiff/xemit.c