summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2013-07-12 20:53:10 -0400
committerJunio C Hamano <gitster@pobox.com>2013-07-13 10:19:37 -0700
commit226ad3482ac506af0eadd04e732dda556fda80e4 (patch)
tree2d40f98d860da3c59192670ca99203e824abb2d4 /builtin.h
parent7a3187eb788854ed3a20fee30b27e68430f753b7 (diff)
downloadgit-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 'builtin.h')
-rw-r--r--builtin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin.h b/builtin.h
index 1ed8edb0cb..8afa2def49 100644
--- a/builtin.h
+++ b/builtin.h
@@ -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);