Re: [PATCH] disable post-checkout test on Cygwin
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Mar 17, 2009, 16:59 UTC
- Message-ID
- <49BFD6DD.1010800@viscovery.net>
- In-Reply-To
- <7vprggqeh2.fsf@gitster.siamese.dyndns.org>
Junio C Hamano schrieb:
Show 10 quoted lines
> Alex Riesen <raa.lkml@gmail.com> writes: > >> It is broken because of the tricks we have to play with >> lstat to get the bearable perfomance out of the call. >> Sadly, it disables access to Cygwin's executable attribute, >> which Windows filesystems do not have at all. > > Hmm, perhaps when checking hooks to see if they are executable, Cygwin > port should avoid using the "tricks"? Compared to paths inside the > worktree the number of hooks is a lot smaller, no?
Hmm. Nowadays, we run hooks through run_hook() in run_command.c. It uses access(..., X_OK), not lstat(). We don't play games with access(), do we?
-- Hannes