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).