Skip to content

mailmap: doc + test fixes

Ævar Arnfjörð Bjarmason git lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest22 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22mailmap doc: create a new "gitmailmap(5)" man pageDocumentation/Makefile Documentation/git-blame.txt Documentation/git-check-mailmap.txt +3 more+38 -78 replies
2/22mailmap doc: quote config variables `like.this`Documentation/gitmailmap.txt+2 -20 replies
3/22check-mailmap doc: note config optionsDocumentation/git-check-mailmap.txt+7 -00 replies
4/22mailmap doc: start by mentioning the comment syntaxDocumentation/gitmailmap.txt+3 -20 replies
5/22mailmap tests: use our preferred whitespace syntaxt/t4203-mailmap.sh+8 -80 replies
6/22mailmap tests: modernize syntax & test idiomst/t4203-mailmap.sh+274 -1992 replies
7/22mailmap tests: improve --stdin testst/t4203-mailmap.sh+32 -80 replies
8/22mailmap tests: remove redundant entry in testt/t4203-mailmap.sh+0 -10 replies
9/22mailmap tests: add a test for "not a blob" errort/t4203-mailmap.sh+9 -01 reply
10/22mailmap tests: get rid of overly complex blame fuzzingt/t4203-mailmap.sh+30 -202 replies
11/22mailmap: test for silent exiting on missing file/blobt/t4203-mailmap.sh+20 -10 replies
12/22test-lib functions: expand "test_commit" comment templatet/test-lib-functions.sh+3 -50 replies
13/22test-lib functions: document arguments to test_committ/test-lib-functions.sh+4 -00 replies
14/22test-lib functions: add --author support to test_committ/t7509-commit-authorship.sh t/test-lib-functions.sh+12 -62 replies
15/22test-lib functions: add an --append option to test_committ/t4203-mailmap.sh t/test-lib-functions.sh+20 -330 replies
16/22tests: refactor a few tests to use "test_commit --append"t/t1412-reflog-loop.sh t/t2012-checkout-last.sh t/t7810-grep.sh+8 -290 replies
17/22mailmap doc + tests: add better examples & test themDocumentation/gitmailmap.txt t/t4203-mailmap.sh+117 -200 replies
18/22mailmap tests: add a test for comment syntaxt/t4203-mailmap.sh+33 -00 replies
19/22mailmap tests: add tests for whitespace syntaxt/t4203-mailmap.sh+52 -00 replies
20/22mailmap tests: add tests for empty "<>" syntaxt/t4203-mailmap.sh+27 -00 replies
21/22mailmap doc + tests: document and test for case-insensitivityDocumentation/gitmailmap.txt t/t4203-mailmap.sh+19 -00 replies
22/22shortlog: remove unused(?) "repo-abbrev" featurebuiltin/blame.c builtin/check-mailmap.c builtin/commit.c +6 more+21 -560 replies

Reviews trailers per patch

1 of 22 patches has a Reviewed-by or Acked-by.

PatchLinus Torvalds
1/22
2/22
3/22
4/22
5/22
6/22
7/22
8/22
9/22
10/22
11/22
12/22
13/22
14/22
15/22
16/22
17/22
18/22
19/22
20/22
21/22
22/22A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/22] mailmap: doc + test fixes

Just a "small" addition to v1, now with 21 extra patches. While this is a large series, it should be relatively easy to read and non-contentious. Mainly

* We now have a "man 5 gitmailmap", rather than including the format description in N places.

* Lots of extra tests & improvements to modernize existing tests to make them more reliable and easier to read.

* Rewrote the example section in the documentation to be more understandable, and you can now follow it along with tests that mirror it.

* Document that mailmap name/email matching is case-insensitive.

* Document & test for the comment syntax.

* Add an "--author" and "--append" argument to test_commit, which is used by the mailmap tests, but also a few other tests (just as an example). This is why the series modifies a few non-mailmap tests.

Ævar Arnfjörð Bjarmason (22):
mailmap doc: create a new "gitmailmap(5)" man page mailmap doc: quote config variables like.this check-mailmap doc: note config options
mailmap doc: start by mentioning the comment syntax mailmap tests: use our preferred whitespace syntax mailmap tests: modernize syntax & test idioms mailmap tests: improve --stdin tests
mailmap tests: remove redundant entry in test mailmap tests: add a test for "not a blob" error mailmap tests: get rid of overly complex blame fuzzing
mailmap: test for silent exiting on missing file/blob test-lib functions: expand "test_commit" comment template test-lib functions: document arguments to test_commit test-lib functions: add --author support to test_commit test-lib functions: add an --append option to test_commit
tests: refactor a few tests to use "test_commit --append" mailmap doc + tests: add better examples & test them mailmap tests: add a test for comment syntax mailmap tests: add tests for whitespace syntax mailmap tests: add tests for empty "<>" syntax mailmap doc + tests: document and test for case-insensitivity
shortlog: remove unused(?) "repo-abbrev" feature

 Documentation/Makefile              |   1 +
 Documentation/git-blame.txt         |   2 +-
 Documentation/git-check-mailmap.txt |   9 +-
 Documentation/git-shortlog.txt      |   6 +-
 Documentation/gitmailmap.txt        | 123 +++++
 Documentation/mailmap.txt           |  75 ---
 builtin/blame.c                     |   2 +-
 builtin/check-mailmap.c             |   2 +-
 builtin/commit.c                    |   2 +-
 builtin/log.c                       |   2 +-
 builtin/shortlog.c                  |  16 +-
 command-list.txt                    |   1 +
 mailmap.c                           |  48 +-
 mailmap.h                           |   2 +-
 pretty.c                            |   2 +-
 shortlog.h                          |   1 -
 t/t1412-reflog-loop.sh              |   7 +-
 t/t2012-checkout-last.sh            |  12 +-
 t/t4203-mailmap.sh                  | 825 +++++++++++++++++++---------
 t/t7509-commit-authorship.sh        |   7 +-
 t/t7810-grep.sh                     |  18 +-
 t/test-lib-functions.sh             |  37 +-
 22 files changed, 771 insertions(+), 429 deletions(-)
 create mode 100644 Documentation/gitmailmap.txt
 delete mode 100644 Documentation/mailmap.txt
Signature · 1 line
2.29.2.222.g5d2a92d10f8