summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xt/t7005-editor.sh4
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