Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git-askpass: don't expect a prompt #381

Merged
merged 1 commit into from
Oct 2, 2021

Conversation

rimrul
Copy link
Member

@rimrul rimrul commented Sep 22, 2021

OpenSSH considers the prompt an optional parameter
to their ssh-askpass
and calls git-askpass without
a prompt as well. Provide a default prompt that instead
of erroring out.

This fixes git-for-windows/git#3434

OpenSSH considers the prompt an optional parameter
to their ssh-askpass [1] and calls git-askpass without
a prompt as well. Provide a default prompt that instead
of erroring out.

This fixes git-for-windows/git#3434

[1] https://man.openbsd.org/ssh-askpass.1

Signed-off-by: Matthias Aßhauer <mha1993@live.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho force-pushed the askpass-default-prompt branch from ae54d35 to 73ce12f Compare October 2, 2021 11:12
@dscho dscho merged commit 1299476 into git-for-windows:main Oct 2, 2021
@dscho
Copy link
Member

dscho commented Oct 2, 2021

Thank you!

@rimrul rimrul deleted the askpass-default-prompt branch October 2, 2021 11:45
dscho added a commit that referenced this pull request Oct 4, 2021
The password prompt when cloning via SSH [works
again](#381).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

git-askpass error when cloning via SSH
2 participants