git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
May 27, 2015, 08:17 UTC
Message-ID
<4f5a995a4012f7f4bce10c8170b06527@www.dscho.org>
In-Reply-To
<CADBZQ5hR1L7FPM_Ht00-as5eXw+PMJk1T2P3_ZiHedf0bi-H1w@mail.gmail.com>
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 overwhelming (and this mailing list is very "male", too). Sorry!
I hope, though, that it was obvious we all only wanted to be helpful?
Show 14 quoted lines
> On Tue, May 26, 2015 at 9:48 AM, Karsten Blees <karsten.blees@gmail.com>
> wrote:
> 
>> AFAICT, the MSys2 symlink() implementation is pretty smart to detect these
>> conditions and fall back to deep copy (aka 'cp -a') if symlinks are not
>> supported.
>>
>> IOW, using 'ln -s' will hopefully "just work" in the upcoming Git for
>> Windows 2, thus trying to fix it for MSys1 / Git for Windows 1.9x is
>> probably a lost cause.
>>
> 
> In that case, I'll abandon this patch and wait for Git for Windows 2 to
> come out.
Speaking of which: Could you try `git-new-workdir` with Git for Windows 2.x (developers' preview)? https://git-for-windows.github.io/#download
It *might* be necessary to define the `MSYS` environment variable to `winsymlinks:nativestrict` before starting the Git Bash, to enable symlinking. It would be really good to know if that is the case so that I can do something about this in the Git for Windows installer.

Ciao, Johannes

Previous: Karsten Blees
Message 9 of 9 in “Re: [PATCH] git-new-workdir: add windows compatibility”
  1. Junio C HamanoMay 26, 2015
  2. Johannes SchindelinMay 26, 2015
  3. Paul SmithMay 26, 2015
  4. Johannes SchindelinMay 26, 2015
  5. Michael J GruberMay 29, 2015
  6. Duy NguyenMay 29, 2015
  7. Johannes SchindelinMay 29, 2015
  8. Karsten BleesMay 26, 2015
  9. Johannes SchindelinMay 27, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.