6 # make emacs/magit work, cf
7 # https://github.com/magit/magit/issues/3419
9 unset GIT_LITERAL_PATHSPECS
11 gitdir
=$
(git rev-parse
--show-toplevel)
13 echo "git rev-parse --show-toplevel failed"
17 ${gitdir}/script
/git-hooks
/check-trailing-whitespace ||
exit $?