Re: [PATCH v2] Fix safe_create_leading_directories() for Windows
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 2, 2014, 21:10 UTC
- Message-ID
- <alpine.DEB.1.00.1401022209310.1191@s15462909.onlinehome-server.info>
- In-Reply-To
- <52C5D201.5070008@gmail.com>
Hi,
On Thu, 2 Jan 2014, Sebastian Schuberth wrote:
Show 10 quoted lines
> When cloning to a directory "C:\foo\bar" from Windows' cmd.exe where "foo" > does not exist yet, Git would throw an error like > > fatal: could not create work tree dir 'c:\foo\bar'.: No such file or directory > > Fix this by not hard-coding a platform specific directory separator into > safe_create_leading_directories(). > > Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> > Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
It would be nice to have links to the original discussion, but I guess that that would not be accepted.
Ciao, Dscho