From 2be76ed8a849d1021381416fe96f4f1dea2a7cfb Mon Sep 17 00:00:00 2001 From: Eric Amodio <eamodio@ioninteractive.com> Date: Thu, 15 Sep 2016 10:50:45 -0400 Subject: [PATCH] Fixes #4 --- README.md | 2 +- package.json | 2 +- src/git.ts | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) 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); }