Merge branch 'rs/xdiff-merge-overlapping-hunks-for-W-context'
commit4ed38637ec6fa08b4bef42a35d87f95c0582b97b
authorJunio C Hamano <gitster@pobox.com>
Wed, 21 Sep 2016 22:15:26 +0000 (21 15:15 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Sep 2016 22:15:26 +0000 (21 15:15 -0700)
treeebabad888f3f9af6cf34cbb45faa4dfc402bddcd
parente9c6d3dcc2112f0d6190681211ea76b714fcd704
parent45d2f75f913c0545be473db1dc2595a1600413f5
Merge branch 'rs/xdiff-merge-overlapping-hunks-for-W-context'

"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