Skip to content

Commit 1faba17

Browse files
author
Stephan Dilly
committed
cleanup
1 parent bc611bc commit 1faba17

File tree

2 files changed

+1
-24
lines changed

2 files changed

+1
-24
lines changed

src/strings.rs

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -597,19 +597,7 @@ pub mod commands {
597597
)
598598
.hide_help()
599599
}
600-
pub fn select_status(
601-
key_config: &SharedKeyConfig,
602-
) -> CommandText {
603-
CommandText::new(
604-
format!(
605-
"To files [{},{}]",
606-
key_config.get_hint(key_config.tab_status),
607-
key_config.get_hint(key_config.tab_log),
608-
),
609-
"focus/select file tree of staged or unstaged files",
610-
CMD_GROUP_GENERAL,
611-
)
612-
}
600+
613601
pub fn abort_merge(key_config: &SharedKeyConfig) -> CommandText {
614602
CommandText::new(
615603
format!(

src/tabs/status.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -632,17 +632,6 @@ impl Component for Status {
632632
self.visible || force_all,
633633
));
634634

635-
out.push(
636-
CommandInfo::new(
637-
strings::commands::select_status(
638-
&self.key_config,
639-
),
640-
true,
641-
(self.visible && !focus_on_diff) || force_all,
642-
)
643-
.hidden(),
644-
);
645-
646635
self.commands_nav(out, force_all);
647636
}
648637

0 commit comments

Comments
 (0)