]> git.ipfire.org Git - thirdparty/git.git/commit - diff.h
Allow specifying --dirstat cut-off percentage as a floating point number
authorJohan Herland <johan@herland.net>
Fri, 29 Apr 2011 09:36:20 +0000 (11:36 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Apr 2011 18:20:11 +0000 (11:20 -0700)
commit712d2c7dd893212756c21787fc12d6f71327e167
tree187070b3d98f8e1ebc788cc91b15b3fd60fc923f
parent2d17495196d0dceb0ff492aa97bfff33ef1baa18
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>
diff.c
diff.h
t/t4047-diff-dirstat.sh