File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -412,6 +412,17 @@ private ContextMenu CreateContextMenuForMultipleCommits(ViewModels.Repository re
412
412
menu . Items . Add ( saveToPatch ) ;
413
413
menu . Items . Add ( new MenuItem ( ) { Header = "-" } ) ;
414
414
415
+ var soloCommits = new MenuItem ( ) ;
416
+ soloCommits . Header = App . Text ( "CommitCM.SoloCommits" ) ;
417
+ soloCommits . Icon = App . CreateMenuIcon ( "Icons.LightOn" ) ;
418
+ soloCommits . Click += ( _ , e ) =>
419
+ {
420
+ repo . SetSoloCommitFilterMode ( selected , Models . FilterMode . Included ) ;
421
+ e . Handled = true ;
422
+ } ;
423
+ menu . Items . Add ( soloCommits ) ;
424
+ menu . Items . Add ( new MenuItem ( ) { Header = "-" } ) ;
425
+
415
426
var copyShas = new MenuItem ( ) ;
416
427
copyShas . Header = App . Text ( "CommitCM.CopySHA" ) ;
417
428
copyShas . Icon = App . CreateMenuIcon ( "Icons.Hash" ) ;
You can’t perform that action at this time.
0 commit comments