Re: [PATCH/RFC v4 0/2] Add -e/--exclude to git clean.
- From
Jared Hance <jaredhance@gmail.com>
- Date
- Jul 20, 2010, 17:13 UTC
- Message-ID
- <20100720171317.GA8693@localhost.localdomain>
- In-Reply-To
- <AANLkTinzavHKSVs4BYGtc-T1IKAS21yk-yzybn7G7IaZ@mail.gmail.com>
On Tue, Jul 20, 2010 at 06:03:36PM +0100, Aaron Crane wrote:
> Rather than stuffing multiple exclusions into a single option, how > about requiring one -e option per exclusion? > > git clean -e foo -e bar
I actually considered that - However, Documentation/technical/api-parse-options.txt does not document how to do this type of thing with the the parse options api. I will look into the code for some examples to see if I can figure it out.