We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b88e0a commit 7754aeeCopy full SHA for 7754aee
src/git/cli.ts
@@ -36,10 +36,7 @@ async function _diffIndex(
36
repository: Repository,
37
options: string[] = []
38
): Promise<Array<string>> {
39
- let cwd = repository.rootUri.path;
40
- // Hack to make handle Windows path from rootUri, since it should not appear as a root path.
41
- cwd = cwd.replace("/c:/", "c:/");
42
-
+ let cwd = repository.rootUri.fspath;
43
const cmd = "diff-index";
44
const fullOptions = [
45
"--name-status",
0 commit comments