提交 cbd9fc23 编写于 作者: J John Keeping 提交者: Junio C Hamano

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: NJohn Keeping <john@keeping.me.uk>
Acked-by: NChristian Couder <christian.couder@gmail.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 ec371ff6
......@@ -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 },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册