summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2015-09-05 14:39:24 +0100
committerJunio C Hamano <gitster@pobox.com>2015-09-08 11:16:47 -0700
commitcbd9fc2366abd6bd4bd3a544e2fe438b53ca0d2f (patch)
tree88e11dfb6043fc26e23b10bf9c1e27484ed6f985 /git.c
parentec371ff6e382d660458eeb8c337d4744985bf308 (diff)
downloadgit-cbd9fc2366abd6bd4bd3a544e2fe438b53ca0d2f.tar.gz
interpret-trailers: allow running outside a repositoryjk/interpret-trailers-outside-a-repository
It may be useful to run git-interpret-trailers without needing to be in a repository. Signed-off-by: John Keeping <john@keeping.me.uk> Acked-by: Christian Couder <christian.couder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.c b/git.c
index 5feba410ca..40f9df0897 100644
--- a/git.c
+++ b/git.c
@@ -417,7 +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 },
+ { "interpret-trailers", cmd_interpret_trailers, RUN_SETUP_GENTLY },
{ "log", cmd_log, RUN_SETUP },
{ "ls-files", cmd_ls_files, RUN_SETUP },
{ "ls-remote", cmd_ls_remote, RUN_SETUP_GENTLY },