Thread (1 message) 1 message, 1 author, 2016-06-15

Re: possible 'git --dirstat=0' buglet in 1.7.0.4?

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:50:03

Mike Coleman [off-list ref] writes:
I noticed just now that the '--dirstat=0' flag still seems to filter
out some diffs, even though I would expect the '0' to mean "don't
filter anything".  If there's another flag that says "don't filter", I
missed it.  Could this be a rounding or off-by-one error?
We seem to internally compute in per-mille (see gather_dirstat() in diff.c)
so if your changes are too small to be rounded off to zero there,...

I think you can remove the "if (permille)" there to make it not filter at
all when dir->percent is set to 0, but I didn't look carefully.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help