@@ -202,7 +202,7 @@ function createCheckoutItems(repository: Repository): CheckoutItem[] {
202202enum PushType {
203203 Push ,
204204 PushTo ,
205- PushTags ,
205+ PushFollowTags ,
206206}
207207
208208interface PushOptions {
@@ -1759,10 +1759,8 @@ export class CommandCenter {
17591759 }
17601760 }
17611761
1762- if ( pushOptions . pushType === PushType . PushTags ) {
1763- await repository . pushTags ( undefined , forcePushMode ) ;
1764-
1765- window . showInformationMessage ( localize ( 'push with tags success' , "Successfully pushed with tags." ) ) ;
1762+ if ( pushOptions . pushType === PushType . PushFollowTags ) {
1763+ await repository . pushFollowTags ( undefined , forcePushMode ) ;
17661764 return ;
17671765 }
17681766
@@ -1819,13 +1817,13 @@ export class CommandCenter {
18191817 }
18201818
18211819 @command ( 'git.pushWithTags' , { repository : true } )
1822- async pushWithTags ( repository : Repository ) : Promise < void > {
1823- await this . _push ( repository , { pushType : PushType . PushTags } ) ;
1820+ async pushFollowTags ( repository : Repository ) : Promise < void > {
1821+ await this . _push ( repository , { pushType : PushType . PushFollowTags } ) ;
18241822 }
18251823
18261824 @command ( 'git.pushWithTagsForce' , { repository : true } )
1827- async pushWithTagsForce ( repository : Repository ) : Promise < void > {
1828- await this . _push ( repository , { pushType : PushType . PushTags , forcePush : true } ) ;
1825+ async pushFollowTagsForce ( repository : Repository ) : Promise < void > {
1826+ await this . _push ( repository , { pushType : PushType . PushFollowTags , forcePush : true } ) ;
18291827 }
18301828
18311829 @command ( 'git.pushTo' , { repository : true } )
0 commit comments