From: Pavel Roskin Date: Mon, 08 May 2006 22:42:14 GMT Subject: Re: [PATCH/RFC] Teach git-clean optional ... parameters. Message-ID: <1147128134.3353.13.camel@dv> In-Reply-To: <7v1wv4gx0r.fsf@assigned-by-dhcp.cox.net> On Mon, 2006-05-08 at 12:02 -0700, Junio C Hamano wrote: > 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 Signed-off-by: Pavel Roskin > * 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