From: D. Ben Knoble Date: Tue, 12 Aug 2025 17:02:17 GMT Subject: [PATCH v4 2/3] t7005: stop abusing --exec-path Message-ID: <20250812170256.71751-3-ben.knoble+github@gmail.com> In-Reply-To: <20250811221706.67168-1-ben.knoble+github@gmail.com> We want the editors in this test on PATH, so put them there. Signed-off-by: D. Ben Knoble --- t/t7005-editor.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t7005-editor.sh b/t/t7005-editor.sh index 791e2a0e74..b384eff5d8 100755 --- a/t/t7005-editor.sh +++ b/t/t7005-editor.sh @@ -65,7 +65,7 @@ ;; esac test_expect_success "Using $i" ' - git --exec-path=. commit --amend && + test_env PATH="$PWD:$PATH" git commit --amend && test_commit_message HEAD expect ' done @@ -85,7 +85,7 @@ ;; esac test_expect_success "Using $i (override)" ' - git --exec-path=. commit --amend && + test_env PATH="$PWD:$PATH" git commit --amend && test_commit_message HEAD expect ' done -- 2.48.1