Fixes git rename on windows

This commit is contained in:
Eric Amodio 2021-04-14 00:16:03 -04:00
parent 66d0f97544
commit c8d5c905bf

View file

@ -797,7 +797,7 @@ export class CommandCenter {
return;
}
const from = path.relative(repository.root, fromUri.path);
const from = path.relative(repository.root, fromUri.fsPath);
let to = await window.showInputBox({
value: from,
valueSelection: [from.length - path.basename(from).length, from.length]