bug#81520: Add pre-receive hook to Savannah to reject LLM-encumbered commits

Eli Zaretskii <[email protected]> Sat, 01 Aug 2026 09:13:08 +0300
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
> From: Sean Whitton <[email protected]>
> Cc: [email protected], [email protected]
> Date: Fri, 31 Jul 2026 16:39:24 +0100
> 
> Eli Zaretskii [31/Jul  6:27pm +03] wrote:
> >> From: Sean Whitton <[email protected]>
> >> Cc: [email protected], [email protected]
> >> Date: Fri, 31 Jul 2026 14:09:35 +0100
> >>
> >> >> > What are the problems with rejecting individual commits when they are
> >> >> > done?
> >> >>
> >> >> It makes it difficult to make commits you never intend to push, e.g.
> >> >> for local-only checkpointing.
> >> >
> >> > On the public branches?  Why do you do that?  It's inherently
> >> > dangerous.
> >>
> >> Right, I either do it on non-public branches, or on machines which don't
> >> have my SSH key.
> >
> > But then the hooks should not be relevant, right?
> 
> No, they are still active, and get in the way.

That's not what the hooks should do.  They should not be active on
one's private branches, only on the public ones.  We have no business
forcing our requirements on private branches.