author | Johan Herland <johan@herland.net> | |
Fri, 29 Apr 2011 09:36:20 +0000 (11:36 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 29 Apr 2011 18:20:11 +0000 (11:20 -0700) | ||
commit | 712d2c7dd893212756c21787fc12d6f71327e167 | |
tree | 187070b3d98f8e1ebc788cc91b15b3fd60fc923f | tree | snapshot |
parent | 2d17495196d0dceb0ff492aa97bfff33ef1baa18 | commit | diff |
Allow specifying --dirstat cut-off percentage as a floating point number
Only the first digit after the decimal point is kept, as the dirstat
calculations all happen in permille.
Selftests verifying floating-point percentage input has been added.
Improved-by: Junio C Hamano <gitster@pobox.com>
Improved-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Only the first digit after the decimal point is kept, as the dirstat
calculations all happen in permille.
Selftests verifying floating-point percentage input has been added.
Improved-by: Junio C Hamano <gitster@pobox.com>
Improved-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c | diff | blob | history | |
diff.h | diff | blob | history | |
t/t4047-diff-dirstat.sh | diff | blob | history |