From e07bc76977bf87fe5b44dd5107caba3219c52ecd Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 5 Dec 2018 02:16:58 -0500 Subject: [PATCH] Fixes #565 - Submodules don't work properly Missing repo in view, file and inline blame, etc --- CHANGELOG.md | 1 + src/git/gitService.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 796f734..30291d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/git/gitService.ts b/src/git/gitService.ts index f781d76..664c3ff 100644 --- a/src/git/gitService.ts +++ b/src/git/gitService.ts @@ -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 {