On Tue, May 10, 2011 at 2:51 AM, Junio C Hamano <gitster@xxxxxxxxx> 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 <gitster@xxxxxxxxx> > --- > Â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@xxxxxxxxxxxxxxx > More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html