Allow specifying --dirstat cut-off percentage as a floating point number
authorJohan Herland <redacted>
Fri, 29 Apr 2011 09:36:20 +0000 (11:36 +0200)
committerJunio C Hamano <redacted>
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 <redacted>
Improved-by: Linus Torvalds <redacted>
Signed-off-by: Johan Herland <redacted>
Signed-off-by: Junio C Hamano <redacted>
diff.c
diff.h
t/t4047-diff-dirstat.sh
git clone https://git.99rst.org/PROJECT