Skip to content

Commit

Permalink
Fixes #565 - Submodules don't work properly
Browse files Browse the repository at this point in the history
Missing repo in view, file and inline blame, etc
  • Loading branch information
eamodio committed Dec 5, 2018
1 parent 98d7716 commit e07bc76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

### Fixed

- Fixes [#565](https://github.com/eamodio/vscode-gitlens/issues/565) — Regression: Submodules don't work properly (missing repo in view, file and inline blame, etc)
- Fixes [#528](https://github.com/eamodio/vscode-gitlens/issues/528) — Remotes not showing, being filtred on domain and file, but not complete path
- Fixes an issue where _Close Repository_ command didn't work

Expand Down
3 changes: 2 additions & 1 deletion src/git/gitService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1669,7 +1669,8 @@ export class GitService implements Disposable {

let folder;
if (root !== undefined) {
rp = root.path;
// Not sure why I added this for vsls (I can't see a reason for it anymore), but if it is added it will break submodules
// rp = root.path;
folder = root.folder;
}
else {
Expand Down

0 comments on commit e07bc76

Please sign in to comment.