Re: [PATCH/RFC] Teach git-clean optional <paths>... parameters.
On Mon, 2006-05-08 at 12:02 -0700, Junio C Hamano wrote:
Show 8 quoted lines
> When optional paths arguments are given, git-clean passes them
> to underlying git-ls-files; with this, you can say:
>
> git clean 'temp-*'
>
> to clean only the garbage files whose names begin with 'temp-'.
>
> Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Pavel Roskin <proski@gnu.org>
> * I usually do not use clean myself, so I am not sure if this
> is the kind of thing people who do use 'clean' regularly
> would generally want, hence this RFC.
I'm not likely to use this feature, but I think it's OK to have it.
It would be nice to have "--" support (see e.g. git-commit).
> + -X remove only ignored files as well
That's my stupid error, "as well" should be removed.
--
Regards,
Pavel Roskin