Browse Source

Fixes #4

main
Eric Amodio 8 years ago
parent
commit
2be76ed8a8
3 changed files with 3 additions and 2 deletions
  1. +1
    -1
      README.md
  2. +1
    -1
      package.json
  3. +1
    -0
      src/git.ts

+ 1
- 1
README.md 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)

+ 1
- 1
package.json View File

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

+ 1
- 0
src/git.ts 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);
}

||||||
x
 
000:0
Loading…
Cancel
Save