Hi, Here's version 5 incorporating Junio's feedback and patch from elsewhere in this thread. Have fun! :) ...Johan Johan Herland (7): 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 Improve error handling when parsing dirstat parameters Documentation/config.txt | 44 ++ Documentation/diff-options.txt | 54 ++- diff.c | 158 ++++++- diff.h | 3 +- t/t4047-diff-dirstat.sh | 965 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 1192 insertions(+), 32 deletions(-) create mode 100755 t/t4047-diff-dirstat.sh -- 1.7.5.rc1.3.g4d7b -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html