John Darrington <j...@darrington.wattle.id.au> skribis:

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

Agreed, it’s a bug.

Ludo’.

Reply via email to