diff options
author | Eric Sunshine <sunshine@sunshineco.com> | 2013-07-12 20:53:10 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-13 10:19:37 -0700 |
commit | 226ad3482ac506af0eadd04e732dda556fda80e4 (patch) | |
tree | 2d40f98d860da3c59192670ca99203e824abb2d4 /git.c | |
parent | 7a3187eb788854ed3a20fee30b27e68430f753b7 (diff) | |
download | git-226ad3482ac506af0eadd04e732dda556fda80e4.tar.gz |
builtin: add git-check-mailmap command
Introduce command check-mailmap, similar to check-attr and check-ignore,
which allows direct testing of .mailmap configuration.
As plumbing accessible to scripts and other porcelain, check-mailmap
publishes the stable, well-tested .mailmap functionality employed by
built-in Git commands. Consequently, script authors need not
re-implement .mailmap functionality manually, thus avoiding potential
quirks and behavioral differences.
Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
-rw-r--r-- | git.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -324,6 +324,7 @@ static void handle_internal_command(int argc, const char **argv) { "cat-file", cmd_cat_file, RUN_SETUP }, { "check-attr", cmd_check_attr, RUN_SETUP }, { "check-ignore", cmd_check_ignore, RUN_SETUP | NEED_WORK_TREE }, + { "check-mailmap", cmd_check_mailmap, RUN_SETUP }, { "check-ref-format", cmd_check_ref_format }, { "checkout", cmd_checkout, RUN_SETUP | NEED_WORK_TREE }, { "checkout-index", cmd_checkout_index, |