From: John Keeping Date: Sat, 5 Sep 2015 13:39:24 +0000 (+0100) Subject: interpret-trailers: allow running outside a repository X-Git-Tag: v2.6.4~4^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/cbd9fc2366abd6bd4bd3a544e2fe438b53ca0d2f 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 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 },