aboutsummaryrefslogtreecommitdiffstats
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-10-05 12:30:16 -0700
committerJunio C Hamano <gitster@pobox.com>2015-10-05 12:30:16 -0700
commitebb58652b2eb422d649b001465f2f5580914220a (patch)
tree0b1a73fc47446e8495b8315c4079652afbab04ba /git.c
parentMerge branch 'as/subtree-with-spaces' (diff)
parentinterpret-trailers: allow running outside a repository (diff)
downloadgit-ebb58652b2eb422d649b001465f2f5580914220a.tar.gz
git-ebb58652b2eb422d649b001465f2f5580914220a.zip
Merge branch 'jk/interpret-trailers-outside-a-repository'
Allow "git interpret-trailers" to run outside of a Git repository. * jk/interpret-trailers-outside-a-repository: interpret-trailers: allow running outside a repository
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 },