File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -385,9 +385,7 @@ impl CommitComponent {
385385
386386 let details = sync:: get_commit_details ( CWD , id) ?;
387387
388- self . input . set_title ( strings:: commit_title_amend (
389- & self . key_config ,
390- ) ) ;
388+ self . input . set_title ( strings:: commit_title_amend ( ) ) ;
391389
392390 if let Some ( msg) = details. message {
393391 self . input . set_text ( msg. combine ( ) ) ;
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ pub fn commit_title() -> String {
6868pub fn commit_title_merge ( ) -> String {
6969 "Commit (Merge)" . to_string ( )
7070}
71- pub fn commit_title_amend ( _key_config : & SharedKeyConfig ) -> String {
71+ pub fn commit_title_amend ( ) -> String {
7272 "Commit (Amend)" . to_string ( )
7373}
7474pub fn commit_msg ( _key_config : & SharedKeyConfig ) -> String {
You can’t perform that action at this time.
0 commit comments