Hello, Johannes Schindelin wrote: > > On Thu, 15 Feb 2007, SungHyun Nam wrote: > >> check_result () { >> + [ -r current ] && rm -f current >> git-ls-files --stage | sed -e 's/ '"$_x40"' / X /' >current && >> diff -u expected current >> } > > Are you having a restrictive umask, or what are the permissions on that > file? There's no problem with the umask. $ umask 0022 I guess there is some race condition in CYGWIN or windows. And my system triggers that condition. Check the logic above. I cannot think there is any chance that 'rm -f current && echo x >current' is success, but 'echo x >current' is fail? Thanks, namsh - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html