aboutsummaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorJohan Herland <johan@herland.net>2011-04-29 11:36:16 +0200
committerJunio C Hamano <gitster@pobox.com>2011-04-29 11:17:36 -0700
commit5502039d87337e076e69f7de949cb0e0360de16f (patch)
treed909fd157d963412478e7602e6b14ee31c964cf7 /revision.h
parentc54e6be75ae90e2be45c32f4d1949fff59ad7d9d (diff)
downloadgit-5502039d87337e076e69f7de949cb0e0360de16f.tar.gz
git-5502039d87337e076e69f7de949cb0e0360de16f.tar.xz
Add several testcases for --dirstat and friends
Currently, t4013 is the only selftest that exercises the --dirstat machinery, but it only does a superficial verification of --dirstat's output. This patch adds a new selftest - t4047-diff-dirstat.sh - which prepares a commit containing: - unchanged files, changed files and files with rearranged lines - copied files, moved files, and unmoved files It then verifies the correct dirstat output for that commit in the following dirstat modes: - --dirstat - -X - --dirstat=0 - -X0 - --cumulative - --dirstat-by-file - (plus combinations of the above) Each of the above tests are also run with: - no rename detection - rename detection (-M) - expensive copy detection (-C -C) Improved-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.h')
0 files changed, 0 insertions, 0 deletions