Re: [PATCH] fetch --all: pass --tags/--no-tags through to each remote

2012-09-01 Thread Jeff King
On Sat, Sep 01, 2012 at 12:25:33AM -0400, Dan Johnson wrote: diff --git a/builtin/fetch.c b/builtin/fetch.c index bb9a074..c6bcbdc 100644 --- a/builtin/fetch.c +++ b/builtin/fetch.c @@ -857,6 +857,10 @@ static void add_options_to_argv(int *argc, const char **argv)

Re: [PATCH] fetch --all: pass --tags/--no-tags through to each remote

2012-09-01 Thread Jeff King
Since the array struct stores a const char ** argv member (for compatibility with most of our argv-taking functions), we have to cast away the const-ness when freeing its elements. However, we used the wrong type when doing so. It doesn't make a difference since free() take a void pointer

[PATCH] fetch --all: pass --tags/--no-tags through to each remote

2012-08-31 Thread Dan Johnson
Reported-by: Oswald Buddenhagen o...@kde.org Signed-off-by: Dan Johnson computerdr...@gmail.com --- Junio C Hamano gits...@pobox.com writes: Dan Johnson computerdr...@gmail.com writes: I believe that is bad interaction with --all (probably a bug). If I am remembering correctly, --no-tags is