Skip to content

Commit c0cca64

Browse files
committed
allow Git: fetch command to show password prompt
There was some 2 years old code which was preventing `Git: fetch` command from displaying a password prompt. I've removed this special treatment. Tested, now `Git: fetch` is showing password prompt as expected and the operation is also successful.
1 parent 7d39e80 commit c0cca64

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

extensions/git/src/askpass-main.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ function main(argv: string[]): void {
2828
return fatal('Missing pipe');
2929
}
3030

31-
if (process.env['VSCODE_GIT_COMMAND'] === 'fetch') {
32-
return fatal('Skip fetch commands');
33-
}
34-
3531
const output = process.env['VSCODE_GIT_ASKPASS_PIPE'] as string;
3632
const socketPath = process.env['VSCODE_GIT_ASKPASS_HANDLE'] as string;
3733
const request = argv[2];

0 commit comments

Comments
 (0)