summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-10-20 12:25:30 -0700
committerJunio C Hamano <gitster@pobox.com>2014-10-20 12:25:32 -0700
commit9d04401ffe18138138e8f765c2bb31420f3efe25 (patch)
treed26e9823fb98bac3245a1b174d87cb58ae12ba80 /git.c
parent7df3b072a90f77f7fd82c493659e1b1160db5658 (diff)
parentdfd66ddf5aa9aacc06ed38a9ee2cc15a4f2d4896 (diff)
downloadgit-9d04401ffe18138138e8f765c2bb31420f3efe25.tar.gz
Merge branch 'cc/interpret-trailers'
A new filter to programatically edit the tail end of the commit log messages. * cc/interpret-trailers: Documentation: add documentation for 'git interpret-trailers' trailer: add tests for commands in config file trailer: execute command from 'trailer.<name>.command' trailer: add tests for "git interpret-trailers" trailer: add interpret-trailers command trailer: put all the processing together and print trailer: parse trailers from file or stdin trailer: process command line trailer arguments trailer: read and process config information trailer: process trailers from input message and arguments trailer: add data structures and basic functions
Diffstat (limited to 'git.c')
-rw-r--r--git.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/git.c b/git.c
index 4cebf32126..18fbf79430 100644
--- a/git.c
+++ b/git.c
@@ -417,6 +417,7 @@ static struct cmd_struct commands[] = {
{ "index-pack", cmd_index_pack, RUN_SETUP_GENTLY },
{ "init", cmd_init_db, NO_SETUP },
{ "init-db", cmd_init_db, NO_SETUP },
+ { "interpret-trailers", cmd_interpret_trailers, RUN_SETUP },
{ "log", cmd_log, RUN_SETUP },
{ "ls-files", cmd_ls_files, RUN_SETUP },
{ "ls-remote", cmd_ls_remote, RUN_SETUP_GENTLY },