Merge from vscode ff915844119ce9485abfe8aa9076ec76b5300ddd (#10030)

This commit is contained in:
Anthony Dresser
2020-04-16 15:12:30 -07:00
committed by GitHub
parent 4fc9057025
commit f3d4a55bb1
14 changed files with 103 additions and 32 deletions

View File

@@ -1262,7 +1262,7 @@
"timeline/item/context": [
{
"command": "git.timeline.openDiff",
"group": "1_actions",
"group": "1_timeline",
"when": "config.git.enabled && !git.missing && timelineItem =~ /git:file\\b/"
},
{

View File

@@ -443,7 +443,10 @@ export class Git {
);
if (networkPath !== undefined) {
return path.normalize(
repoUri.fsPath.replace(networkPath, `${letter.toLowerCase()}:`),
repoUri.fsPath.replace(
networkPath,
`${letter.toLowerCase()}:${networkPath.endsWith('\\') ? '\\' : ''}`
),
);
}
} catch { }