diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2012-05-01 21:10:13 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-05-01 22:02:12 +0400 |
commit | 4434e6ba6c2de994bd28892abe9fb3bdf1641560 (patch) | |
tree | 67cc275a033e9e5716a5ec4a13b993e76e76db40 /diff.c | |
parent | ec57a821a3bacdaaaf5eeba55a124bf1a502a13f (diff) |
tests: check --[short]stat output after chmod
Add a test to check 'diff --stat' output with a text file after chmod,
and the same for a binary file. This demonstrates that text and binary
files are treated differently, which can be misleading.
While at it, add tests to check --shortstat output, too.
Reported-by: Martin Mareš <mj@ucw.cz>
Signed-off-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions