File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
2323### Removed
2424- Removes ` gitlens.theme.* ` settings - now using built-in theme support
2525
26+ ### Fixed
27+ - Fixes issue where ` Open * in Remote ` commands are sometimes missing
28+
2629## [ 6.1.2] - 2017-11-21
2730### Fixed
2831- Fixes [ #207 ] ( https://github.com/eamodio/vscode-gitlens/issues/207 ) - Applying and deleting stashes suddenly stopped working
Original file line number Diff line number Diff line change @@ -156,15 +156,14 @@ export class GitContextTracker extends Disposable {
156156 }
157157
158158 if ( editor !== undefined ) {
159- const uri = editor . document . uri ;
159+ this . _context . uri = await GitUri . fromUri ( editor . document . uri , this . git ) ;
160160
161- const repo = await this . git . getRepository ( uri ) ;
161+ const repo = await this . git . getRepository ( this . _context . uri ) ;
162162 if ( repo !== undefined ) {
163163 this . _context . repo = repo ;
164164 this . _context . repoDisposable = repo . onDidChange ( this . onRepoChanged , this ) ;
165165 }
166166
167- this . _context . uri = await GitUri . fromUri ( uri , this . git ) ;
168167 this . _context . state . dirty = editor . document . isDirty ;
169168 tracked = await this . git . isTracked ( this . _context . uri ) ;
170169 }
You can’t perform that action at this time.
0 commit comments