This series of patches add a configuration variable for verbose in git-commit. Link to v15: http://thread.gmane.org/gmane.comp.version-control.git/293127 Changes wrt v15: * Remove the previous patch 7/7 and split the tests. Include one in initial patch 6/7. The other one is introduced in a separate commit after 4/7. * Include tests in patch 3/6 for --no-quiet without -q, multiple verbose, --no-verbose with -v as suggested by Eric Sunshine Pranit Bauva (7): t0040-test-parse-options.sh: fix style issues test-parse-options: print quiet as integer t0040-parse-options: improve test coverage t/t7507: improve test coverage parse-options.c: make OPTION_COUNTUP respect "unspecified" values t7507-commit-verbose: improve test coverage by testing number of diffs commit: add a commit.verbose config variable Documentation/config.txt | 4 + Documentation/git-commit.txt | 3 +- Documentation/technical/api-parse-options.txt | 8 +- builtin/commit.c | 14 +- parse-options.c | 2 + t/t0040-parse-options.sh | 238 +++++++++++++++++++------- t/t7507-commit-verbose.sh | 72 +++++++- test-parse-options.c | 5 +- 8 files changed, 271 insertions(+), 75 deletions(-) -- 2.8.1 -- 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