Re: globs in partial checkout?
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Dec 10, 2006, 20:13 UTC
- Message-ID
- <Pine.LNX.4.64.0612101209370.12500@woody.osdl.org>
- In-Reply-To
- <20061210200029.GF1708@mellanox.co.il>
On Sun, 10 Dec 2006, Michael S. Tsirkin wrote:
> > I'm trying to checkout some files after doing "clone -n". > Should using globs there work? It doesn't:
Not historically at all. "git checkout" needed exact filenames in older versions.
However, since about 1.4.4.1 or so, it now does the same filename expansion as "git add" etc does, which means that you can give it a directory name and it will check out everything under that directory, or you can give it a pattern, and it should glob it. But it sounds like you may have a slightly older version of git (the pathname matching really is fairly recent).