File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/vs/workbench/contrib/scm/browser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -158,12 +158,12 @@ export class SCMActiveRepositoryController extends Disposable implements IWorkbe
158158 const tooltip = `${ label } ${ command . tooltip ? ` - ${ command . tooltip } ` : '' } ` ;
159159
160160 // Get a repository agnostic name for the status bar action, derive this from the
161- // first command argument which is in the form "git .<command>/<number>"
161+ // first command argument which is in the form of "<extension> .<command>/<number>"
162162 let repoAgnosticActionName = command . arguments ?. [ 0 ] ;
163163 if ( repoAgnosticActionName && typeof repoAgnosticActionName === 'string' ) {
164164 repoAgnosticActionName = repoAgnosticActionName
165165 . substring ( 0 , repoAgnosticActionName . lastIndexOf ( '/' ) )
166- . replace ( / ^ g i t \. / , '' ) ;
166+ . replace ( / ^ (?: g i t \. | r e m o t e H u b \. ) / , '' ) ;
167167 if ( repoAgnosticActionName . length > 1 ) {
168168 repoAgnosticActionName = repoAgnosticActionName [ 0 ] . toLocaleUpperCase ( ) + repoAgnosticActionName . slice ( 1 ) ;
169169 }
You can’t perform that action at this time.
0 commit comments