We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 343f77a commit 35f18b1Copy full SHA for 35f18b1
pre-commit
@@ -7,7 +7,7 @@ RC=0
7
subhook_root=$git_root/.git/hooks/commit_hooks
8
9
hook_dir="$(dirname $0)"
10
-hook_symlink="$(readlink $0)"
+hook_symlink="$(readlink -f $0)"
11
12
# Figure out where commit hooks are if pre-commit is setup as a symlink
13
if [ ! -z "$hook_symlink" ]; then
0 commit comments