fixed post-commit hook making a new commit
This commit is contained in:
parent
2fd10b139c
commit
ace3cf6fa2
1 changed files with 1 additions and 1 deletions
|
@ -11,6 +11,6 @@ if git diff-index HEAD --; then
|
|||
exit 0
|
||||
fi
|
||||
echo "post-commit: Amending commit with refreshed files"
|
||||
git commit --amend --gpg-sign --no-edit --no-verify
|
||||
git commit --amend --gpg-sign --no-edit --no-verify --reuse-message=HEAD
|
||||
echo "post-commit: Done"
|
||||
exit 0
|
||||
|
|
Reference in a new issue