diff --git a/README.md b/README.md index eda49b8..8b15405 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ See the Contributions tab above ## Release Notes -### 0.1.0 +### 0.1.1 - Improved blame annotations, now with sha and author by default - Add new blame annotation styles -- compact and expanded (default) diff --git a/package.json b/package.json index c359eb2..f1f4c9a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gitlens", - "version": "0.1.0", + "version": "0.1.1", "author": "Eric Amodio", "publisher": "eamodio", "engines": { diff --git a/src/git.ts b/src/git.ts index 2aaf5bd..17786b3 100644 --- a/src/git.ts +++ b/src/git.ts @@ -23,6 +23,7 @@ function gitCommand(cwd: string, ...args) { export default class Git { static normalizePath(fileName: string, repoPath: string) { + repoPath = repoPath.replace(/\\/g, '/'); if (isAbsolute(fileName) && fileName.startsWith(repoPath)) { fileName = relative(repoPath, fileName); }