Re: [PATCH 19/40] Windows: Change the name of hook scripts to make them not executable.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 28 February 2008 16:20, Johannes Schindelin wrote:
> 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?

Because some of the files are not hooks. Or do you mean to check for the files 
hooks--* explicitly?

-- Hannes
--
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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux