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

Sean Whitton <[email protected]> Fri, 31 Jul 2026 14:09:35 +0100
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
Eli Zaretskii [31/Jul  3:55pm +03] wrote:
> Sorry, I don't trust these advanced features enough not to screw up
> the Emacs Git repository, especially with my ancient version of Git.
>
> What does it do? move all the commits after the offending one to a
> branch, then back?

It does a reword-only rebase.  But fair enough, if your Git is too old,
it probably won't work.

> (Btw, what this does and when it can/cannot be used is almost
> completely undocumented.  Both the doc string and the manual are
> silent about that, and both are one-liners.  How is a user supposed to
> learn about these capabilities and their limitations?)

I agree.  I'll expand it at some point.

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

-- 
Sean Whitton