Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
interpret-trailers: allow running outside a repository
author
John Keeping
<john@keeping.me.uk>
Sat, 5 Sep 2015 13:39:24 +0000
(14:39 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 8 Sep 2015 18:16:47 +0000
(11:16 -0700)
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>
git.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
ec371ff
)
diff --git
a/git.c
b/git.c
index 5feba410cab6d95e3b9ff9745db56a9d045f0c20..40f9df0897b0a0d05da7cd6bf688c6758cad89a9 100644
(file)
--- 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 },