Maxim Cournoyer <[email protected]> writes: > Hi, > > > "Jodi Jodington (dev)" <[email protected]> writes: > >> `./configure && make` doesn't replace the hook created by guix git >> authenticate. I got into this situation simply by running guix git >> authenticate before ./configure. > > [...] > > My question I now have thus becomes: why is `guix git authenticate` > trying to install a hook itself, when our build system always takes care > of it anyway (with a better hook, it seems)? > > I didn't even know `guix git authenticate` did that :-). Perhaps Ludovic > would know the answer?
I believe it is because `guix git authenticate' is a general purpose command[0], not intended just for the Guix repository. So it cannot assume that the repository in question would install its own hook. 0: https://guix.gnu.org/en/blog/2024/authenticate-your-git-checkouts/ -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors.
signature.asc
Description: PGP signature
