git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
ec371ff
)
interpret-trailers: allow running outside a repository
author
John Keeping
<redacted>
Sat, 5 Sep 2015 13:39:24 +0000
(14:39 +0100)
committer
Junio C Hamano
<redacted>
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 <redacted>
Acked-by: Christian Couder <redacted>
Signed-off-by: Junio C Hamano <redacted>
git.c
patch
|
blob
|
history
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 },
git clone https://git.99rst.org/PROJECT