Re: [PATCH 6/9] clean ":" is like specifying nothing
On Tue, May 10, 2011 at 2:51 AM, Junio C Hamano <gitster@pobox.com> wrote:
> Adjust argc that is meant to correspond do the number of elements in
Show 27 quoted lines
> the pathspec array.
>
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
> ---
> 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
>