We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dadb4ed commit 9b88e0aCopy full SHA for 9b88e0a
1 file changed
src/git/cli.ts
@@ -36,7 +36,10 @@ async function _diffIndex(
36
repository: Repository,
37
options: string[] = []
38
): Promise<Array<string>> {
39
- const cwd = repository.rootUri.path;
+ 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
+
43
const cmd = "diff-index";
44
const fullOptions = [
45
"--name-status",
0 commit comments