diff: fix "git show -C -C" output when renaming a binary file
A bug was introduced in 3e97c7c6 (No diff -b/-w output for all-whitespace changes, Nov 19 2009) that made the lines: diff --git a/bar b/sub/bar similarity index 100% rename from bar rename to sub/bar disappear from "git show -C -C" output when file bar is a binary file. Signed-off-by: NChristian Couder <chriscool@tuxfamily.org> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
Showing
t/t4043-diff-rename-binary.sh
0 → 100755
想要评论请 注册 或 登录