From: Marius Storm-Olsen Date: Fri, 31 Aug 2007 08:23:01 GMT Subject: Re: [PATCH] autodetect core.symlinks in git-init 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: > 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 > --- > + 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 -- .marius