[PATCH 0/4] report chmod'ed binary files the same as text files
- From
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
- Date
- May 1, 2012, 17:10 UTC
- Message-ID
- <1335892215-21331-1-git-send-email-zbyszek@in.waw.pl>
This patch series fixes a small discrepancy between the way that text files and binary files are treated. Reported by Martin Mareš in [1]. Firt patch is cleanup, second describes current behaviour, third does the change, and fourth is a bonus micro-opt.
[1] http://article.gmane.org/gmane.comp.version-control.git/179361
Zbigniew Jędrzejewski-Szmek (4): test: modernize style of t4006 tests: check --[short]stat output after chmod diff --stat: report chmoded binary files like text files diff --stat: do not run diff on indentical files
diff.c | 30 +++++++++++++---------- t/t4006-diff-mode.sh | 65 ++++++++++++++++++++++++++++++++++++-------------- 2 files changed, 65 insertions(+), 30 deletions(-)
-- 1.7.10.539.g288dd