Re: Relative ls-files
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Mar 23, 2011, 16:10 UTC
- Message-ID
- <AANLkTin=7FzjrJ1q3_AgO9erWEsm=DSoHMUPDiwFAqr2@mail.gmail.com>
- In-Reply-To
- <4D8A1883.1030606@drmicha.warpmail.net>
On Wed, Mar 23, 2011 at 10:57 PM, Michael J Gruber <git@drmicha.warpmail.net> wrote:
Show 6 quoted lines
>> ':/*.h' that have been suggested on the command line, so I am tempted to >> suggest using '/' (the first slash in the example) as the magic introducer >> and using '/' (the second) as the 'from-root' magic signature. > > I'm afraid (but not sure) that leading "/" would create problems for Git > on Win! ":/" is fine according to the experts.
'/' is treated more or less just like '\' on Windows so it would not be a big deal. The 'git add /foo/bar' issue is more interesting, imo.
-- Duy