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:
parent
85569d7498
commit
f37bfb7a4d
@ -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
|
||||
|
3
t/t4013/diff.diff_--dirstat_master~1_master~2
Normal file
3
t/t4013/diff.diff_--dirstat_master~1_master~2
Normal file
@ -0,0 +1,3 @@
|
||||
$ git diff --dirstat master~1 master~2
|
||||
40.0% dir/
|
||||
$
|
Loading…
Reference in New Issue
Block a user