@matheusbsbs / matheus-bagliano / commits / cbd9fc2366
Fork 0

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>

John Keeping committed Sep 5, 2015 at 14:39 UTC cbd9fc2366abd6bd4bd3a544e2fe438b53ca0d2f
1 file changed +1 -1
git.c
+1 -1
@@ -417,7 +417,7 @@ static struct cmd_struct commands[] = {
417 { "index-pack", cmd_index_pack, RUN_SETUP_GENTLY },
418 { "init", cmd_init_db, NO_SETUP },
419 { "init-db", cmd_init_db, NO_SETUP },
420 - { "interpret-trailers", cmd_interpret_trailers, RUN_SETUP },
420 + { "interpret-trailers", cmd_interpret_trailers, RUN_SETUP_GENTLY },
421 { "log", cmd_log, RUN_SETUP },
422 { "ls-files", cmd_ls_files, RUN_SETUP },
423 { "ls-remote", cmd_ls_remote, RUN_SETUP_GENTLY },