diff --git a/post-applypatch b/post-applypatch index 83db132a30..6f286cf5a1 100755 --- a/post-applypatch +++ b/post-applypatch @@ -1,6 +1,6 @@ #!/bin/sh -GIT_DIR=.git +GIT_DIR=$(git rev-parse --git-dir) dotest="$GIT_DIR/rebase-apply" prec=4 &&