Re: [PATCH] git-new-workdir: add windows compatibility

2015-05-29 Thread Michael J Gruber
Johannes Schindelin venit, vidit, dixit 26.05.2015 14:35: Hi Paul, On 2015-05-26 14:20, Paul Smith wrote: On Tue, 2015-05-26 at 11:53 +0200, Johannes Schindelin wrote: The biggest problem with `mklink` is that it is only supported on Windows Vista and later, while I really like to keep

Re: [PATCH] git-new-workdir: add windows compatibility

2015-05-29 Thread Johannes Schindelin
Hi Michael, On 2015-05-29 11:53, Michael J Gruber wrote: Johannes Schindelin venit, vidit, dixit 26.05.2015 14:35: For what it is worth, I tried my hand a couple of years ago at the project to move git-new-workdir to use the `.git` *file* and alternates mechanisms, but that does not work

Re: [PATCH] git-new-workdir: add windows compatibility

2015-05-29 Thread Duy Nguyen
On Fri, May 29, 2015 at 4:53 PM, Michael J Gruber g...@drmicha.warpmail.net wrote: Isn't that basically the approach that git checkout --to is taking? Is that one Windows proof? It should be. I've lost track of its status, though. It should be fine to use as long as you don't do checkout

Re: [PATCH] git-new-workdir: add windows compatibility

2015-05-27 Thread Johannes Schindelin
Hi Daniel, On 2015-05-26 19:16, Daniel Smith wrote: Thanks to everyone for reviewing my proposed patch an providing valuable feedback. This was my first patch submission to a large open source project like Git and the whole process was a little daunting. Heh, yeah, it can be quite

Re: [PATCH] git-new-workdir: add windows compatibility

2015-05-26 Thread Karsten Blees
Am 26.05.2015 um 06:03 schrieb Junio C Hamano: Daniel Smith dansmit...@gmail.com writes: When running on Windows in MinGW, creating symbolic links via ln always failed. Using mklink instead of ln is the recommended method of creating links on Windows:

Re: [PATCH] git-new-workdir: add windows compatibility

2015-05-26 Thread Johannes Schindelin
Hi, On 2015-05-26 06:03, Junio C Hamano wrote: Daniel Smith dansmit...@gmail.com writes: When running on Windows in MinGW, creating symbolic links via ln always failed. Using mklink instead of ln is the recommended method of creating links on Windows:

Re: [PATCH] git-new-workdir: add windows compatibility

2015-05-26 Thread Johannes Schindelin
Hi Paul, On 2015-05-26 14:20, Paul Smith wrote: On Tue, 2015-05-26 at 11:53 +0200, Johannes Schindelin wrote: The biggest problem with `mklink` is that it is only supported on Windows Vista and later, while I really like to keep Windows XP support in Git for Windows. No, the biggest

Re: [PATCH] git-new-workdir: add windows compatibility

2015-05-26 Thread Paul Smith
On Tue, 2015-05-26 at 11:53 +0200, Johannes Schindelin wrote: The biggest problem with `mklink` is that it is only supported on Windows Vista and later, while I really like to keep Windows XP support in Git for Windows. No, the biggest problem with mklink is that you have to have

Re: [PATCH] git-new-workdir: add windows compatibility

2015-05-25 Thread Junio C Hamano
Daniel Smith dansmit...@gmail.com writes: When running on Windows in MinGW, creating symbolic links via ln always failed. Using mklink instead of ln is the recommended method of creating links on Windows: