Re: [PATCH 2/2] On Cygwin support both UNIX and DOS style path-names
- From
Erik Faye-Lund <kusmabite@gmail.com>
- Date
- Aug 5, 2011, 17:29 UTC
- Message-ID
- <CABPQNSYSzsY-CQdi6iJQftsY1ufMpxkax=eQLgopVxMC6LoxfA@mail.gmail.com>
- In-Reply-To
- <1312560614-20772-3-git-send-email-pascal@obry.net>
On Fri, Aug 5, 2011 at 6:10 PM, Pascal Obry <pascal@obry.net> wrote:
Show 9 quoted lines
> In fact Cygwin supports both, so make Git agree with this. > The failing case is when a file is committed in a sub-dir of the > repository using a log message from a file specified with a DOS > style path-name. To reproduce: > > $ cd src > $ git commit -F c:\tmp\log.txt file.c > fatal: could not read log file 'src/c:\tmp\log.txt': No such file \ > or directory.
Cygwin is a unix-layer on top of Windows, designed to play by the POSIX-rules. So why would you want to support Windows-style paths on Cygwin?
If you want a Git that handles Windows paths, use Git for Windows...