Add git hook for package comparison
When moving to commit, this hook will automatically fire and check the current system's installed packages against those explicitly committed to the repository. If they mismatch it will inform the user. It will not prevent the commit, but simply add a comment at the top of the commit messages to remind the user that something is unbalanced between both. It would be recommended to either check the additional package into source control, remove it from the current system, or explicitly add it to ignored packages.
This commit is contained in:
parent
c7ed986c0e
commit
ecbf8409f9
4 changed files with 76 additions and 1 deletions
1
.githooks/.stow-local-ignore
Normal file
1
.githooks/.stow-local-ignore
Normal file
|
|
@ -0,0 +1 @@
|
|||
^/.* # everything
|
||||
Loading…
Add table
Add a link
Reference in a new issue