Skip to content

Commit cbd9fc2

Browse files
johnkeepinggitster
authored andcommitted
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 <[email protected]> Acked-by: Christian Couder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ec371ff commit cbd9fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ static struct cmd_struct commands[] = {
417417
{ "index-pack", cmd_index_pack, RUN_SETUP_GENTLY },
418418
{ "init", cmd_init_db, NO_SETUP },
419419
{ "init-db", cmd_init_db, NO_SETUP },
420-
{ "interpret-trailers", cmd_interpret_trailers, RUN_SETUP },
420+
{ "interpret-trailers", cmd_interpret_trailers, RUN_SETUP_GENTLY },
421421
{ "log", cmd_log, RUN_SETUP },
422422
{ "ls-files", cmd_ls_files, RUN_SETUP },
423423
{ "ls-remote", cmd_ls_remote, RUN_SETUP_GENTLY },

0 commit comments

Comments
 (0)