Browse Source

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>
maint
Thomas Rast 16 years ago committed by Junio C Hamano
parent
commit
f37bfb7a4d
  1. 1
      t/t4013-diff-various.sh
  2. 3
      t/t4013/diff.diff_--dirstat_master~1_master~2

1
t/t4013-diff-various.sh

@ -263,6 +263,7 @@ diff --name-status dir2 dir @@ -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

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