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

Do not overwrite users environment variables #115455

Merged
merged 1 commit into from Mar 21, 2022

Conversation

Backfighter
Copy link
Contributor

These environment variables are currently enforced by vscode and there is no way to overwrite them. Turning this arround allows the user to use a custom GIT_ASKPASS inside vscode (e.g. /usr/bin/ksshaskpass for kde wallet).

This PR fixes #111839

@joaomoreno
Copy link
Member

The current code prevents accidental usage of that environment variable and breaking auth. So I'd rather we put this behind a configuration setting, given it's such a niche scenario. I would also only move the GIT_ASKPASS env around, not the other two.

@ghost
Copy link

ghost commented Feb 1, 2021

CLA assistant check
All CLA requirements met.

@Backfighter
Copy link
Contributor Author

@joaomoreno I have adjusted my changes accordingly.

@Backfighter
Copy link
Contributor Author

@eamodio What is the status of the merge? Is there anything I can do to speed up the process?

@lszomoru lszomoru assigned lszomoru and unassigned eamodio Oct 4, 2021
@MCterra10
Copy link

Can we have this merged? It's incredibly frustrating

@Backfighter
Copy link
Contributor Author

@MCterra10 thanks for spotting the typo. I have rebased my changes onto the new mainline so it can be merged easily.

@lszomoru any chance this can be merged?

@lszomoru lszomoru added this to the January 2022 milestone Jan 5, 2022
@lszomoru lszomoru modified the milestones: January 2022, February 2022 Jan 27, 2022
@MCterra10
Copy link

@Backfighter conflicts?

The GIT_ASKPASS variable is currently enforced by vscode and there is no way to overwrite it.
This commit adds an options to disable the integrated askpass and use
your own.

Fixes microsoft#111839
@MCterra10
Copy link

MCterra10 commented Mar 16, 2022

are the maintainers always this slow for such simple changes?
it's not like there's the "they are volunteers" argument, this is literally a paid job to maintain the vscode repo

@lszomoru lszomoru merged commit b8a5e18 into microsoft:main Mar 21, 2022
@lszomoru
Copy link
Member

Apologies for the delay on getting this in. This should be in tomorrow's Insiders release and the next Stable release.

@Backfighter Backfighter deleted the patch-1 branch March 21, 2022 21:46
@MCterra10
Copy link

sweeeeet

@github-actions github-actions bot locked and limited conversation to collaborators May 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GIT_ASKPASS is set unconditionally
5 participants