File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -1356,6 +1356,18 @@ pub mod commands {
1356
1356
CMD_GROUP_LOG ,
1357
1357
)
1358
1358
}
1359
+ pub fn log_find_commit (
1360
+ key_config : & SharedKeyConfig ,
1361
+ ) -> CommandText {
1362
+ CommandText :: new (
1363
+ format ! (
1364
+ "Find [{}]" ,
1365
+ key_config. get_hint( key_config. keys. file_find) ,
1366
+ ) ,
1367
+ "start commit search" ,
1368
+ CMD_GROUP_LOG ,
1369
+ )
1370
+ }
1359
1371
pub fn log_close_search (
1360
1372
key_config : & SharedKeyConfig ,
1361
1373
) -> CommandText {
Original file line number Diff line number Diff line change @@ -690,6 +690,11 @@ impl Component for Revlog {
690
690
self . selected_commit ( ) . is_some ( ) ,
691
691
self . visible || force_all,
692
692
) ) ;
693
+ out. push ( CommandInfo :: new (
694
+ strings:: commands:: log_find_commit ( & self . key_config ) ,
695
+ true ,
696
+ self . visible || force_all,
697
+ ) ) ;
693
698
694
699
visibility_blocking ( self )
695
700
}
You can’t perform that action at this time.
0 commit comments