Skip to content

GIT_ASKPASS is set unconditionally #111839

@crumblingstatue

Description

@crumblingstatue
  • VSCode Version: 1.51.1 (OSS)
  • OS Version: Linux x64 5.9.11-arch2-1

I disable the git authentication with

    "github.gitAuthentication": false,
    "git.terminalAuthentication": false

But git push errors because vscode still set GIT_ASKPASS:

$ git push
/usr/lib/code/extensions/git/dist/askpass.sh: line 3: /usr/lib/electron7/electron: No such file or directory
/usr/lib/code/extensions/git/dist/askpass.sh: line 3: /usr/lib/electron7/electron: No such file or directory
remote: No anonymous write access.

Furthermore, this also occurs with --disable-extensions, which makes no sense to me because it tries to execute extensions/git/dist/askpass.sh, even though I have the git extension disabled?

Does this issue occur when all extensions are disabled?: Yes

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buggitGIT issueshelp wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions