s3: libsmb: Fix cli_resolve_path() to cope with DFS paths passed in as well as local...
[Samba.git] / script / git-hooks / pre-commit-script
blob8adb01c3893a32474d651f86caadb11331884a2b
1 #!/bin/sh
3 set -eu
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)
12 if [ $? -ne 0 ]; then
13 echo "git rev-parse --show-toplevel failed"
14 exit 1
17 ${gitdir}/script/git-hooks/check-trailing-whitespace || exit $?
19 exit 0