[PATCHv3 0/6] --dirstat fixes, part 2
- From
Johan Herland <johan@herland.net>
- Date
- Apr 27, 2011, 08:24 UTC
- Message-ID
- <1303892653-3958-1-git-send-email-johan@herland.net>
- In-Reply-To
- <1303870359-26083-1-git-send-email-johan@herland.net>
Hi,
Here's version 3 with patch 5/6 changed to use integer permille calculation instead of floating point percent calculations. Patch 6/6 also has minor updates caused by the 5/6 changes (s/percent/permille/ plus updated test vectors). The other patches are unchanged.
Have fun! :)
...Johan
Johan Herland (6): Add several testcases for --dirstat and friends Make --dirstat=0 output directories that contribute < 0.1% of changes Refactor --dirstat parsing; deprecate --cumulative and --dirstat-by-file Add config variable for specifying default --dirstat behavior Allow specifying --dirstat cut-off percentage as a floating point number New --dirstat=lines mode, doing dirstat analysis based on diffstat
Documentation/config.txt | 44 ++ Documentation/diff-options.txt | 54 ++- diff.c | 191 ++++++++- diff.h | 3 +- t/t4046-diff-dirstat.sh | 908 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 1167 insertions(+), 33 deletions(-) create mode 100755 t/t4046-diff-dirstat.sh
-- 1.7.5.rc1.3.g4d7b