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

Re: [PATCH] config.mak.uname: Cygwin: Use renames for creation

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Aug 8, 2015, 21:06 UTC
Message-ID
<20150808210627.GB155450@vauxhall.crustytoothpaste.net>
In-Reply-To
<55C66AF2.3060706@gmail.com>
On Sat, Aug 08, 2015 at 04:47:46PM -0400, Mark Levedahl wrote:
Show 10 quoted lines
> On 08/07/2015 04:30 PM, Adam Dinwoodie wrote:
> >When generating build options for Cygwin, enable
> >OBJECT_CREATION_USES_RENAMES.  This is necessary to use Git on Windows
> >shared directories, and is already enabled for the MinGW and plain
> >Windows builds.
> I've been supporting use of git on cygwin since about 2008, this issue has
> never risen that I know. Whatever issue is being patched around here, if
> truly repeatable, should be handled by the cygwin dll as that code is
> focused on providing full linux compatibility. If git on linux does need
> this patch, git on cygwin should not, either. So, I vote against this.

We've gotten a lot of users on the list who ask why their Git directories on shared drives aren't working (or are broken in some way). Since I don't use Windows, let me ask: does the Cygwin DLL handle link(2) properly on shared drives, and if not, would this patch help it do so? I can imagine that perhaps SMB doesn't support the necessary operations to make a POSIX link(2) work properly.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
Previous: Mark LevedahlNext: Adam Dinwoodie
Message 3 of 9 in “config.mak.uname: Cygwin: Use renames for creation”
  1. config.mak.uname: Cygwin: Use renames for creationAdam Dinwoodie, Aug 7, 2015
  2. Mark LevedahlAug 8, 2015
  3. brian m. carlsonAug 8, 2015
  4. Adam DinwoodieAug 9, 2015
  5. Johannes SchindelinAug 9, 2015
  6. Adam DinwoodieAug 9, 2015
  7. Junio C HamanoAug 10, 2015
  8. Adam DinwoodieAug 11, 2015
  9. Johannes SchindelinAug 18, 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.