From: Thiago Farina Date: Tue, 10 May 2011 15:14:59 GMT Subject: Re: [PATCH 6/9] clean ":" is like specifying nothing Message-ID: In-Reply-To: <1305006678-4051-7-git-send-email-gitster@pobox.com> On Tue, May 10, 2011 at 2:51 AM, Junio C Hamano wrote: > Adjust argc that is meant to correspond do the number of elements in s/do/to ? > the pathspec array. > > Signed-off-by: Junio C Hamano > --- >  builtin/clean.c |    1 + >  1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/builtin/clean.c b/builtin/clean.c > index 4a312ab..686cd6b 100644 > --- a/builtin/clean.c > +++ b/builtin/clean.c > @@ -96,6 +96,7 @@ int cmd_clean(int argc, const char **argv, const char *prefix) >                add_exclude(exclude_list.items[i].string, "", 0, dir.exclude_list); > >        pathspec = get_pathspec(prefix, argv); > +       argc = count_pathspec(pathspec); > >        fill_directory(&dir, pathspec); > > -- > 1.7.5.1.290.g1b565 > > -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at  http://vger.kernel.org/majordomo-info.html >