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

Re: [PATCH] autodetect core.symlinks in git-init

From
Marius Storm-Olsen <marius@trolltech.com>
Date
Aug 31, 2007, 08:23 UTC
Message-ID
<46D7CFE5.9040508@trolltech.com>
In-Reply-To
<7vodgo2moe.fsf_-_@gitster.siamese.dyndns.org>
Junio C Hamano said the following on 31.08.2007 09:22:
Show 7 quoted lines
> We already autodetect if filemode is reliable on the filesystem
> to deal with VFAT and friends.  Do the same for symbolic link
> support.
> 
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
> ---
> +		if (!close(xmkstemp(path)) &&

Just tried this with 4msysgit (so, MinGW on Windows), and with a patch for adding xmkstemp() to git-compat-util.h, this patch works perfectly on Windows. It's obviously the right thing to do.

Acked-by: Marius Storm-Olsen <mstormo_git@storm-olsen.com>
-- 
.marius
Previous: Nanako ShiraishiNext: Stephen Cuppett
Message 10 of 12 in “[RFC] Change handling of RelNotes”
  1. Stephen CuppettAug 31, 2007
  2. Petr BaudisAug 31, 2007
  3. Junio C HamanoAug 31, 2007
  4. Junio C HamanoAug 31, 2007
  5. Marius Storm-OlsenAug 31, 2007
  6. Nanako ShiraishiAug 31, 2007
  7. Junio C HamanoAug 31, 2007
  8. autodetect core.symlinks in git-initJunio C Hamano, Aug 31, 2007
  9. Nanako ShiraishiAug 31, 2007
  10. Marius Storm-OlsenAug 31, 2007
  11. Stephen CuppettAug 31, 2007
  12. Junio C HamanoAug 31, 2007

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.