-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
Needs Triageneeds an initial reviewneeds an initial review
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Currently GIT_SSH_COMMAND has hardcoded ssh path in https://github.com/npm/git/blob/v4.0.4/lib/opts.js#L5
But there is also GIT_SSH env. var honored by standard git. The GIT_SSH_COMMAND should use GIT_SSH (and quoted) instead of ssh when GIT_SSH is non-empty.
Will fix npm/cli#2891 as I can confirm npm/cli#2891 (comment) fixes the problem.
Expected Behavior
GIT_SSH other than ssh/empty is honored.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Needs Triageneeds an initial reviewneeds an initial review
