Re: [Bug] git status -unormal -- 'foo[b]/' won't display content of 'foo[b]/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 22, 2014 at 2:52 AM, Torsten Bögershausen <tboegi@xxxxxx> wrote:
> git status takes a "pathspec" as a parameter, which is not the same as a filename.
> A pathspec can contain wildcards like '*' or '?' or things like "*[ch]".
> This is known as shell glob syntax (or so), and used automatically by all shells.
>
> Git allows to use "git add *.[ch]" (where the shell expands the glob) or
> "git add '*.[ch]'" where Git does the expansion.

>From the top of my head, pathspec should match as if it's literal
string too. Not sure if it applies to this case. I'll check later..
-- 
Duy
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]