mirror of
https://github.com/extrawurst/gitui.git
synced 2024-12-29 12:06:26 +03:00
cleanup
This commit is contained in:
parent
bc611bca52
commit
1faba1760c
@ -597,19 +597,7 @@ pub mod commands {
|
||||
)
|
||||
.hide_help()
|
||||
}
|
||||
pub fn select_status(
|
||||
key_config: &SharedKeyConfig,
|
||||
) -> CommandText {
|
||||
CommandText::new(
|
||||
format!(
|
||||
"To files [{},{}]",
|
||||
key_config.get_hint(key_config.tab_status),
|
||||
key_config.get_hint(key_config.tab_log),
|
||||
),
|
||||
"focus/select file tree of staged or unstaged files",
|
||||
CMD_GROUP_GENERAL,
|
||||
)
|
||||
}
|
||||
|
||||
pub fn abort_merge(key_config: &SharedKeyConfig) -> CommandText {
|
||||
CommandText::new(
|
||||
format!(
|
||||
|
@ -632,17 +632,6 @@ impl Component for Status {
|
||||
self.visible || force_all,
|
||||
));
|
||||
|
||||
out.push(
|
||||
CommandInfo::new(
|
||||
strings::commands::select_status(
|
||||
&self.key_config,
|
||||
),
|
||||
true,
|
||||
(self.visible && !focus_on_diff) || force_all,
|
||||
)
|
||||
.hidden(),
|
||||
);
|
||||
|
||||
self.commands_nav(out, force_all);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user