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>
;;
esac
test_expect_success "Using $i" '
- git --exec-path=. commit --amend &&
+ PATH="$PWD:$PATH" git commit --amend &&
test_commit_message HEAD expect
'
done
;;
esac
test_expect_success "Using $i (override)" '
- git --exec-path=. commit --amend &&
+ PATH="$PWD:$PATH" git commit --amend &&
test_commit_message HEAD expect
'
done