Every so often I see nickm push a commit to tor's main git that is a fixup! commit. It's clear that he meant to squash them before the push but didn't.
Is there some one-liner or something we can put in a git hook that notices these unintended commits and tells us to fix them before pushing?
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
After a discussion on IRC with rl1987, the changes were made that the git hook only considers master, release-* and maint-* branches. It won't apply to the other branches.
I'm also fine having it named pre-push in maint/ but there is also a possible argument to identify it has a git hook like pre-push.git-hook or something around those lines. I'll leave it to nickm to decide on that.
Trac: Reviewer: N/Ato dgoulet Status: needs_review to merge_ready