Test diff --dirstat functionality

This is only a very rudimentary test, but it was untested before.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Thomas Rast 2009-02-19 12:13:37 +01:00 committed by Junio C Hamano
parent 85569d7498
commit f37bfb7a4d
2 changed files with 4 additions and 0 deletions

View File

@ -263,6 +263,7 @@ diff --name-status dir2 dir
diff --no-index --name-status dir2 dir
diff --no-index --name-status -- dir2 dir
diff master master^ side
diff --dirstat master~1 master~2
EOF
test_done

View File

@ -0,0 +1,3 @@
$ git diff --dirstat master~1 master~2
40.0% dir/
$