Anti-dsm() pre-commit hook
Component ID
1143338
Component name
Anti-dsm() pre-commit hook
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
Sorry, I'm no longer maintaining this.
Overview
This is a Git pre-commit hook that, when put in a local repo, will alert you when you are about to commit a dsm(). I created this for #819900: Create a pre-commit hook(s) that checks for common oopsies.
Features
- If you are about to commit a
dsm(), it asks you if you would like to proceed. - Otherwise, it's silent.
Requirements
- Git
- PHP's CLI
Known problems
None.
Credits
This was written by Josh The Geek.
