From: Johannes Schindelin Date: Thu, 28 Feb 2008 15:20:23 GMT Subject: Re: [PATCH 19/40] Windows: Change the name of hook scripts to make them not executable. Message-ID: In-Reply-To: <1204138503-6126-20-git-send-email-johannes.sixt@telecom.at> Hi, On Wed, 27 Feb 2008, Johannes Sixt wrote: > - *) cp $$boilerplate blt/$$dst ;; \ > + *) if test -n "$$(sed -ne '/^#!\//p' -e '1q' < "$$boilerplate")"; then \ > + cp "$$boilerplate" "blt/$${dst}$(NOEXECTEMPL)"; \ > + else \ > + cp "$$boilerplate" "blt/$$dst"; \ > + fi ;; \ Why not just append .noexec to all of the hooks? Ciao, Dscho