diff options
| author | D. Ben Knoble <ben.knoble+github@gmail.com> | 2025-08-13 13:50:04 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-08-13 11:50:00 -0700 |
| commit | a9c4141abb9fa13abcb226d569c43f9b7b0aa53f (patch) | |
| tree | fc953bbd6d9610cf1cb2d7dce6d01d4a5f0f7b62 /t/t7005-editor.sh | |
| parent | 83d64df8d574a7cdfa96fa7a18194373b223fafe (diff) | |
| download | git-a9c4141abb9fa13abcb226d569c43f9b7b0aa53f.tar.gz | |
t7005: stop abusing --exec-path
We want the editors in this test on PATH, so put them there.
Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7005-editor.sh')
| -rwxr-xr-x | t/t7005-editor.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t7005-editor.sh b/t/t7005-editor.sh index 791e2a0e74..0a5861b7f0 100755 --- a/t/t7005-editor.sh +++ b/t/t7005-editor.sh @@ -65,7 +65,7 @@ do ;; esac test_expect_success "Using $i" ' - git --exec-path=. commit --amend && + PATH="$PWD:$PATH" git commit --amend && test_commit_message HEAD expect ' done @@ -85,7 +85,7 @@ do ;; esac test_expect_success "Using $i (override)" ' - git --exec-path=. commit --amend && + PATH="$PWD:$PATH" git commit --amend && test_commit_message HEAD expect ' done |
