Re: sparse support in pu
- From
- Peter Harris <git@peter.is-a-geek.org>
- Date
- Aug 17, 2009, 12:52 UTC
- Message-ID
- <eaa105840908170552m3eaf0f92j523ddad98dd67a3@mail.gmail.com>
- In-Reply-To
- <alpine.DEB.1.00.0908171425410.4991@intel-tinevez-2-302>
On Mon, Aug 17, 2009 at 8:29 AM, Johannes Schindelin wrote:
> If I want to have a sparse checkout, I know which files I _want_.
That's funny. I have a git tree that would benefit from sparse checkout. I know which path I _don't_ want. Specifying all the paths I want would be a rather longer (and more error-prone) list. I suspect it would be best to support both.
Does sparse use the same parser as .gitignore? (I guess not, if it handles trailing slashes differently?) If so, it would be trivial to turn "exclude path" into "exclude all but path" (or vice-versa) with:
* !path
Peter Harris