Re: [PATCH] t5580: add Cygwin support
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Oct 31, 2017, 17:39 UTC
- Message-ID
- <alpine.DEB.2.21.1.1710311839340.6482@virtualbox>
- In-Reply-To
- <20171031131903.10496-1-adam@dinwoodie.org>
Hi Adam,
On Tue, 31 Oct 2017, Adam Dinwoodie wrote:
Show 8 quoted lines
> t5580 tests that specifying Windows UNC paths works with Git. Cygwin > supports UNC paths, albeit only using forward slashes, not backslashes, > so run the compatible tests on Cygwin as well as MinGW. > > The only complication is Cygwin's `pwd`, which returns a *nix-style > path, and that's not suitable for calculating the UNC path to the > current directory. Instead use Cygwin's `cygpath` utility to get the > Windows-style path.
Looks good!
Thank you, Dscho