Merge branch 'ap/maint-diff-rename-avoid-overlap' into next
commit19d70bf751be473113fe31de58a39a22a45b676b
authorJunio C Hamano <gitster@pobox.com>
Tue, 26 Feb 2013 21:54:26 +0000 (26 13:54 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Feb 2013 21:54:27 +0000 (26 13:54 -0800)
tree4a5be4b9edd7beb18ff4a3dbb955730450472944
parentc9cc7895c5963045223be8e5e4fdfef097dff936
parentdd281f09b7eab86e4983b37d011cbfb0f593f6b8
Merge branch 'ap/maint-diff-rename-avoid-overlap' into next

The logic used by "git diff -M --stat" to shorten the names of
files before and after a rename did not work correctly when the
common prefix and suffix between the two filenames overlapped.

Will cook in 'next'.
diff.c