bug-guix
[Top][All Lists]
Advanced

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

bug#25508: Git hook shebangs should not be rewritten


From: Leo Famulari
Subject: bug#25508: Git hook shebangs should not be rewritten
Date: Sun, 22 Jan 2017 18:25:50 -0500
User-agent: Mutt/1.7.2 (2016-11-26)

----- Forwarded message from John Darrington <address@hidden> -----

Date: Sun, 22 Jan 2017 14:01:24 +0100
From: John Darrington <address@hidden>
To: address@hidden
Subject: Not patching shebang in git hook samples ?
User-Agent: Mutt/1.5.23 (2014-03-12)

The git package ships with a number of sample hook files.  These are shell 
scripts and
therefore the #!/bin/sh line gets substituted at  build time.

However these files get installed into every git repostory that is created, and 
users
are invited to use them as templates for their own hooks.

This will be fine until both git and bash are updated.  Now the original bash 
is free
to be garbage collected.  If that happens, the path: 
#!/gnu/store/qkw4zrwfybxww8f56nkb6hggxambk89b-bash-4.4.0/bin/sh
will no longer exist.

I suggest what we turn off the shebang patching for the files in 
share/templates for git.

J'

-- 
Avoid eavesdropping.  Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.




----- End forwarded message -----

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]