From: Junio C Hamano Date: Sun, 15 Mar 2026 15:23:50 +0000 (-0700) Subject: post-apply: allow working from elsewhere including secondary worktrees X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=7b81ec94dc65aa3066dbc20133dbc8c51aa66148;p=thirdparty%2Fgit.git post-apply: allow working from elsewhere including secondary worktrees --- 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 &&