]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'rs/xdiff-merge-overlapping-hunks-for-W-context'
authorJunio C Hamano <gitster@pobox.com>
Wed, 21 Sep 2016 22:15:26 +0000 (15:15 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Sep 2016 22:15:26 +0000 (15:15 -0700)
"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

1  2 
xdiff/xemit.c

diff --cc xdiff/xemit.c
Simple merge