[internal] add auto detection of 'git commit --amend'

* Finally!
* Also improve UPX compression
This commit is contained in:
Pete Batard 2018-05-12 11:37:07 +01:00
parent 9815a18009
commit 63555cd04d
7 changed files with 33 additions and 11 deletions

View file

@ -6,7 +6,7 @@
# .git/hooks/ with the following content:
# #!/bin/sh
# if [ -x ./_post-commit.sh ]; then
# source ./_post-commit.sh
# . ./_post-commit.sh
# fi
type -P git &>/dev/null || { echo "git command not found. Aborting." >&2; exit 1; }