Subject: bug#69540: pre-push hook tries to check only the first ref

From: Tomas Volf <[email-masked]>
Date: Mon, 4 Mar 2024 12:30:35 +0100

Hello,

I have noticed that despite the pre-push hook having a `while' loop to read all
the refs, it calls exec/exit on the very first one.  Effectively that means that
only the first ref is checked, the rest is assumed to be authenticated.  That
seems wrong.

Have a nice day,
Tomas Volf

--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.