Merge branch 'zj/diff-empty-chmod'
commitfc1320bfe2419e5eb3f43761e27ffa4f42a81825
authorJunio C Hamano <gitster@pobox.com>
Mon, 7 May 2012 20:29:08 +0000 (7 13:29 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 May 2012 20:29:08 +0000 (7 13:29 -0700)
treed164b4cfbf359242729fc180abba294c1eb169c1
parent43d1e41ea91ba95b902f549274916660bf520b98
parent9380aed286df31dcb31fd6ae467b69471c8cf148
Merge branch 'zj/diff-empty-chmod'

"git diff --stat" used to fully count a binary file with modified
execution bits whose contents is unmodified, which was not right.

By Zbigniew JÄ™drzejewski-Szmek (4) and Johannes Sixt (1)
* zj/diff-empty-chmod:
  t4006: Windows do not have /dev/zero
  diff --stat: do not run diff on indentical files
  diff --stat: report mode-only changes for binary files like text files
  tests: check --[short]stat output after chmod
  test: modernize style of t4006

Conflicts:
diff.c
diff.c