All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] interpret-trailers: allow running outside a repository
@ 2015-09-05 13:39 John Keeping
  2015-09-07 20:08 ` Christian Couder
  0 siblings, 1 reply; 2+ messages in thread
From: John Keeping @ 2015-09-05 13:39 UTC (permalink / raw)
  To: git; +Cc: Christian Couder, John Keeping

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>
---
 git.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git.c b/git.c
index 82d7a1c..2431cb0 100644
--- 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 },
-- 
2.5.0.466.g9af26fa

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] interpret-trailers: allow running outside a repository
  2015-09-05 13:39 [PATCH] interpret-trailers: allow running outside a repository John Keeping
@ 2015-09-07 20:08 ` Christian Couder
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Couder @ 2015-09-07 20:08 UTC (permalink / raw)
  To: John Keeping; +Cc: git, Christian Couder

On Sat, Sep 5, 2015 at 3:39 PM, John Keeping <john@keeping.me.uk> wrote:
> It may be useful to run git-interpret-trailers without needing to be in
> a repository.

Yeah, it looks like it works fine outside a repo.

Tested-by: Christian Couder <chriscool@tuxfamily.org>

Thanks,
Christian.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-07 20:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-05 13:39 [PATCH] interpret-trailers: allow running outside a repository John Keeping
2015-09-07 20:08 ` Christian Couder

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.