From cbd9fc2366abd6bd4bd3a544e2fe438b53ca0d2f Mon Sep 17 00:00:00 2001 From: John Keeping Date: Sat, 5 Sep 2015 14:39:24 +0100 Subject: 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 Acked-by: Christian Couder Signed-off-by: Junio C Hamano 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 }, -- cgit v0.10.2-6-g49f6