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

Sean Whitton <[email protected]> Fri, 31 Jul 2026 13:32:48 +0100
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
Eli Zaretskii [31/Jul  2:45pm +03] wrote:
> My point is that when I have several commits, and then pushing them
> all fails because one of them, going back and redoing the one that
> caused the fail is a terrible nuisance with Git.  So I want the
> rejection happen when I commit, so I could fix it right away.
>
> I don't mind of push fails for a reason whose fix is simple.  For
> example, if someone pushed in-between, all I need to do is "git pull"
> followed by another push, and that's fine by me.  By contrast, fixing
> a commit in the middle of a large number is much harder, especially
> when they are not your commits.  Think about merging from a release
> branch, or "git am" of someone who submitted a series of several
> commits.

Just to note that if it's commit message related, then for Git you can
type 'e' in 'C-x v L' to fix it, these days.

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

-- 
Sean Whitton