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