On Sat, 2 Dec 2006, Horst H. von Brand wrote:
The command should never even see the '*' here. Globbing is handled
(uniformly) by the shell. Don't loose that.
Git supprts an extra level of globbing.
In the kernel tree, try the difference between these two command lines:
git ls-files fs/*.c
git ls-files 'fs/*.c'
and enjoy.
It's _very_ useful for a number of programs (including "git add") but I
find it _especially_ useful for something like
git grep jiffies -- '*.h'
where the git-level globbign is important.
Not all git programs do that globbing, but many do.