News for hackers. Stuff that matters.
Re:Pre-commit hooks are fundamentally broken by normie3000 on Saturday December 27, 2025 @04:26AM (#46400454)
> e.g. if it contains a private key file included by mistake

Thanks - this is the first example of a pre-commit hook that I can see value in.

Re:Pre-commit hooks are fundamentally broken by seba_dos1 on Saturday December 27, 2025 @09:01AM (#46401913)
Remember that such key will be copied into the repository on `git add` already and will stay there until garbage collected.
Re:Pre-commit hooks are fundamentally broken by normie3000 on Thursday January 01, 2026 @04:52PM (#46458463)
Thanks, good to keep in mind. Although presumably that means it's in my local repository. And it would have already been in my local filesystem anyway.