mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-25 09:35:40 -05:00
Fixes issues with paths on Windows
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
'use strict';
|
||||
import { GitStatusFileStatus, GitStatusFile, IGitStatus } from './../git';
|
||||
import { Git, GitStatusFileStatus, GitStatusFile, IGitStatus } from './../git';
|
||||
|
||||
interface IFileStatusEntry {
|
||||
staged: boolean;
|
||||
@@ -17,7 +17,7 @@ export class GitStatusParser {
|
||||
if (!lines.length) return undefined;
|
||||
|
||||
const status = {
|
||||
repoPath: repoPath,
|
||||
repoPath: Git.normalizePath(repoPath),
|
||||
state: {
|
||||
ahead: 0,
|
||||
behind: 0
|
||||
|
||||
Reference in New Issue
Block a user