This commit is contained in:
Eric Amodio
2016-09-15 10:50:45 -04:00
parent dcb789f58d
commit 2be76ed8a8
3 changed files with 3 additions and 2 deletions

View File

@@ -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)

View File

@@ -1,6 +1,6 @@
{
"name": "gitlens",
"version": "0.1.0",
"version": "0.1.1",
"author": "Eric Amodio",
"publisher": "eamodio",
"engines": {

View File

@@ -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);
}