From 5684a4fa0a25089752c04f59172f9708601314e9 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 22 Aug 2020 17:46:01 -0400 Subject: post-applypatch: Don't assume that $GIT_DIR is ".git" --- post-applypatch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post-applypatch b/post-applypatch index 886ad76..49e226a 100755 --- a/post-applypatch +++ b/post-applypatch @@ -1,6 +1,6 @@ #!/bin/sh -GIT_DIR=.git +GIT_DIR="$(git rev-parse --absolute-git-dir)" dotest="$GIT_DIR/rebase-apply" prec=4 && -- cgit v1.2.3