From 7b81ec94dc65aa3066dbc20133dbc8c51aa66148 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sun, 15 Mar 2026 08:23:50 -0700 Subject: [PATCH] post-apply: allow working from elsewhere including secondary worktrees --- post-applypatch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 &&