git: add 'signed off' commit to git changes view

This adds 2 actions to the context menu in the git changes view: 'Commit Staged (Signed Off)' and 'Commit All (Signed Off)'.
This commit is contained in:
Fabian Lauer 2016-08-10 23:17:26 +02:00
parent 52b469e85b
commit e12293b1fd

View file

@ -282,7 +282,9 @@ export class ChangesView extends EventEmitter.EventEmitter implements GitView.IV
this.instantiationService.createInstance(GitActions.PublishAction, GitActions.PublishAction.ID, GitActions.PublishAction.LABEL),
new ActionBar.Separator(),
this.instantiationService.createInstance(GitActions.CommitAction, this),
this.instantiationService.createInstance(GitActions.CommitSignedOffAction, this),
this.instantiationService.createInstance(GitActions.StageAndCommitAction, this),
this.instantiationService.createInstance(GitActions.StageAndCommitSignedOffAction, this),
this.instantiationService.createInstance(GitActions.UndoLastCommitAction, GitActions.UndoLastCommitAction.ID, GitActions.UndoLastCommitAction.LABEL),
new ActionBar.Separator(),
this.instantiationService.createInstance(GitActions.GlobalUnstageAction),