test: add failing tests for "diff --stat" to t4049
authorJunio C Hamano <gitster@pobox.com>
Tue, 27 Nov 2012 20:55:00 +0000 (12:55 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Nov 2012 21:21:15 +0000 (13:21 -0800)
commit9667ccbc8c513458cba0606644150eccb8a0c86b
tree14fb2767d9e2f2cdc68423d9fb3e9c7d419293f5
parent74faaa16f016af9fc429770ba701f2aa598d9f21
test: add failing tests for "diff --stat" to t4049

There are a few problems in diff.c around --stat area, partially
caused by the recent 74faaa1 (Fix "git diff --stat" for interesting
- but empty - file changes, 2012-10-17), and largely caused by the
earlier change that introduced when --stat-count was added.

Add a few test pieces to t4049 to expose the issues.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4049-diff-stat-count.sh