diff --stat: do not run diff on indentical files
commit352ca4e105e6fb37cad97b80f2640d28b133ca9d
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 1 May 2012 17:10:15 +0000 (1 19:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 May 2012 04:29:03 +0000 (1 21:29 -0700)
tree738e0a4337cf77ae6cb0f3851ffe2b25e02133d9
parente18872b2f0fba4cb860c9350bb8b8d8680dfc83b
diff --stat: do not run diff on indentical files

If two objects are known to be equal, there is no point running the diff.

Signed-off-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c