forked from osmocom/wireshark
Update message on outdated precommit hook
Change-Id: I3afb93cced09df7844c0810438ee6d760f8237a5 Reviewed-on: https://code.wireshark.org/review/18960 Reviewed-by: Michael Mann <mmann78@netscape.net> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
parent
99aacf8612
commit
13adab2118
|
@ -46,7 +46,7 @@ cd "$(git rev-parse --show-toplevel)"
|
|||
# (but only if invoked as hook, i.e. the commit ID is not given as argument).
|
||||
if [ -z "$1" ] && [ -f "$hook_script" ]; then
|
||||
if ! cmp -s "$hook_script" tools/pre-commit; then
|
||||
echo "Pre-commit hook script is outdated, please update!"
|
||||
echo "Pre-commit hook script is outdated, please update! (cp tools/pre-commit ${hook_script})"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue