adding a debug echo to the pre-commit hook
This commit is contained in:
parent
5f8bc701be
commit
d6492cd3cf
1 changed files with 1 additions and 2 deletions
|
@ -6,7 +6,6 @@ packwiz refresh
|
|||
echo "pre-commit: Adding changes to git"
|
||||
git add .
|
||||
echo "pre-commit: Amending commit with refreshed files"
|
||||
PREV_COMMIT=$(git log -1 --pretty=%B)
|
||||
git commit --amend --no-edit --no-verify --reuse-message="$PREV_COMMIT"
|
||||
git commit --amend --no-edit --no-verify
|
||||
echo "pre-commit: Done"
|
||||
exit 0
|
||||
|
|
Reference in a new issue