Re: Why O_EXCL would make this difference? I am puzzled..

2005-07-14 Thread Linus Torvalds
On Thu, 14 Jul 2005, Junio C Hamano wrote: The bisect search found that the commit Make git-checkout create files with O_EXCL makes the test t1005 fail. But it is getting late so I give up to figuire this out tonight. Ahh, thanks for noticing. It says * expecting

Re: Why O_EXCL would make this difference? I am puzzled..

2005-07-14 Thread Linus Torvalds
On Thu, 14 Jul 2005, Linus Torvalds wrote: I'll strace the dang thing. It's the Adding case in git-merge-one-file-script, which does git-checkout-cache -u -f -- $4 and it's because of this: lstat64(DF, {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 unlink(DF)