X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/b28c81bcf2c00b282cd7f25bf784563e181fc70c..589094a48966583f6b428d89807f504f5401b4ed:/autogen.sh diff --git a/autogen.sh b/autogen.sh index c3ae1d766d..bc9c5a008e 100755 --- a/autogen.sh +++ b/autogen.sh @@ -226,6 +226,7 @@ if test -d .git/hooks; then tailored_hooks="$tailored_hooks $hook" done for hook in applypatch-msg pre-applypatch; do + test ! -r .git/hooks/$hook.sample || cmp .git/hooks/$hook.sample .git/hooks/$hook >/dev/null 2>&1 || sample_hooks="$sample_hooks $hook" done