author | Johan Herland <johan@herland.net> | |
Fri, 29 Apr 2011 09:36:19 +0000 (11:36 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 29 Apr 2011 18:20:03 +0000 (11:20 -0700) | ||
commit | 2d17495196d0dceb0ff492aa97bfff33ef1baa18 | |
tree | 010da01ffd0d5101ba2d3689553f07165302e3a7 | tree | snapshot |
parent | 333f3fb0c5307fed170cae336ab3c056f4d6ca1c | commit | diff |
Add config variable for specifying default --dirstat behavior
The new diff.dirstat config variable takes the same arguments as
'--dirstat=<args>', and specifies the default arguments for --dirstat.
The config is obviously overridden by --dirstat arguments passed on the
command line.
When not specified, the --dirstat defaults are 'changes,noncumulative,3'.
The patch also adds several tests verifying the interaction between the
diff.dirstat config variable, and the --dirstat command line option.
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>
The new diff.dirstat config variable takes the same arguments as
'--dirstat=<args>', and specifies the default arguments for --dirstat.
The config is obviously overridden by --dirstat arguments passed on the
command line.
When not specified, the --dirstat defaults are 'changes,noncumulative,3'.
The patch also adds several tests verifying the interaction between the
diff.dirstat config variable, and the --dirstat command line option.
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>
Documentation/diff-config.txt | diff | blob | history | |
Documentation/diff-options.txt | diff | blob | history | |
diff.c | diff | blob | history | |
t/t4047-diff-dirstat.sh | diff | blob | history |