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 {
13561356 CMD_GROUP_LOG ,
13571357 )
13581358 }
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+ }
13591371 pub fn log_close_search (
13601372 key_config : & SharedKeyConfig ,
13611373 ) -> CommandText {
Original file line number Diff line number Diff line change @@ -690,6 +690,11 @@ impl Component for Revlog {
690690 self . selected_commit ( ) . is_some ( ) ,
691691 self . visible || force_all,
692692 ) ) ;
693+ out. push ( CommandInfo :: new (
694+ strings:: commands:: log_find_commit ( & self . key_config ) ,
695+ true ,
696+ self . visible || force_all,
697+ ) ) ;
693698
694699 visibility_blocking ( self )
695700 }
You can’t perform that action at this time.
0 commit comments