mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 01:18:21 +00:00
better place for push cmd
This commit is contained in:
parent
23ccee002b
commit
aae3d2c611
1 changed files with 6 additions and 6 deletions
|
|
@ -378,6 +378,12 @@ impl Component for Status {
|
|||
true,
|
||||
true,
|
||||
));
|
||||
|
||||
out.push(CommandInfo::new(
|
||||
strings::commands::status_push(&self.key_config),
|
||||
self.index_wd.branch_name().is_some(),
|
||||
true,
|
||||
));
|
||||
}
|
||||
|
||||
{
|
||||
|
|
@ -403,12 +409,6 @@ impl Component for Status {
|
|||
));
|
||||
}
|
||||
|
||||
out.push(CommandInfo::new(
|
||||
strings::commands::status_push(&self.key_config),
|
||||
self.index_wd.branch_name().is_some(),
|
||||
self.visible || force_all,
|
||||
));
|
||||
|
||||
out.push(
|
||||
CommandInfo::new(
|
||||
strings::commands::select_status(&self.key_config),
|
||||
|
|
|
|||
Loading…
Reference in a new issue