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 /builtin.h | |
parent | 7a3187eb788854ed3a20fee30b27e68430f753b7 (diff) | |
download | git-226ad3482ac506af0eadd04e732dda556fda80e4.tar.gz git-226ad3482ac506af0eadd04e732dda556fda80e4.tar.xz |
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 'builtin.h')
-rw-r--r-- | builtin.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -40,6 +40,7 @@ extern int cmd_checkout(int argc, const char **argv, const char *prefix); extern int cmd_checkout_index(int argc, const char **argv, const char *prefix); extern int cmd_check_attr(int argc, const char **argv, const char *prefix); extern int cmd_check_ignore(int argc, const char **argv, const char *prefix); +extern int cmd_check_mailmap(int argc, const char **argv, const char *prefix); extern int cmd_check_ref_format(int argc, const char **argv, const char *prefix); extern int cmd_cherry(int argc, const char **argv, const char *prefix); extern int cmd_cherry_pick(int argc, const char **argv, const char *prefix); |