Skip to content

Commit

Permalink
Test diff --dirstat functionality
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Rast authored and Junio C Hamano committed Feb 20, 2009
1 parent 85569d7 commit f37bfb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions t/t4013-diff-various.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 3 additions & 0 deletions t/t4013/diff.diff_--dirstat_master~1_master~2
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
$ git diff --dirstat master~1 master~2
40.0% dir/
$

0 comments on commit f37bfb7

Please sign in to comment.