Thread (10 messages) flat view 10 messages, 2 authors, 2016-06-15

[PATCHv6 0/8] --dirstat fixes, part 2

From: Johan Herland <hidden>
Date: 2016-06-15 22:51:07

Hi,

Here's version 6 incorporating Junio's feedback regarding tests,
error messages, and i18n. The following patches have changed:

 - 1/8: Added test: 'various ways to misspell --dirstat'

 - 3/8: Added a couple of more misspellings to the above test

 - 7/8: Improved error message handling, and tests covering error messages

 - 8/8: New patch marking dirstat error messages for translation.

The new 8/8 patch WILL NOT COMPILE until the topic branch is merged with
an i18n/gettext-aware branch (i.e. where _() and test_i18ngrep is present).


Have fun! :)

...Johan

Johan Herland (8):
  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
  Mark dirstat error messages for translation

 Documentation/config.txt       |   44 ++
 Documentation/diff-options.txt |   54 ++-
 diff.c                         |  171 +++++++-
 diff.h                         |    3 +-
 t/t4047-diff-dirstat.sh        |  979 ++++++++++++++++++++++++++++++++++++++++
 5 files changed, 1219 insertions(+), 32 deletions(-)
 create mode 100755 t/t4047-diff-dirstat.sh

-- 
1.7.5.rc1.3.g4d7b
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help