summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2015-09-05 13:39:24 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-09-08 18:16:47 (GMT)
commitcbd9fc2366abd6bd4bd3a544e2fe438b53ca0d2f (patch)
tree88e11dfb6043fc26e23b10bf9c1e27484ed6f985 /git.c
parentec371ff6e382d660458eeb8c337d4744985bf308 (diff)
downloadgit-cbd9fc2366abd6bd4bd3a544e2fe438b53ca0d2f.zip
git-cbd9fc2366abd6bd4bd3a544e2fe438b53ca0d2f.tar.gz
git-cbd9fc2366abd6bd4bd3a544e2fe438b53ca0d2f.tar.bz2
interpret-trailers: allow running 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 5feba41..40f9df0 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 },