Re:Pre-commit hooks are fundamentally broken
by johnisgood on Saturday December 27, 2025 @06:28PM
(#46406591)
Not to disagree, but this is so GitHub-centric. What is up with "diffs", "patches", and "submissions"? :D
[ Parent
| on HN ]
Re:Pre-commit hooks are fundamentally broken
by jghn on Saturday December 27, 2025 @06:32PM
(#46406623)
Not to disagree, but calling it Github-centric is a bit over specific :)
I regularly work with Github, Bitbucket, and Gitlab. Everything I said applies except for the fact that I said "PR" instead of "MR". But yes, you're right. I'm highlighting a specific, albeit extremely popular, workflow.
Re:Pre-commit hooks are fundamentally broken
by johnisgood on Saturday December 27, 2025 @06:57PM
(#46406829)
I know, I know, I was going to edit it to "Git{Hub,Lab}" in the beginning but oh well.
In any case, my comment just reflects on the fact that you had a series of patches that you could not squash or rebase. It stuck.
And the fact that I see many people use the abbreviation "PR" for something that is merely a patch or diff. For example you might send a diff to the tech@ mailing list, but you should not refer to it as a PR.
Re:Pre-commit hooks are fundamentally broken
by QuercusMax on Saturday December 27, 2025 @08:00PM
(#46407288)
Git{Hu,La}b
Re:Pre-commit hooks are fundamentally broken
by patmorgan23 on Sunday December 28, 2025 @08:45PM
(#46416506)
GitPub