mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 09:28:21 +00:00
rename
This commit is contained in:
parent
d67a240bc7
commit
b3045b35bb
3 changed files with 3 additions and 3 deletions
|
|
@ -343,7 +343,7 @@ impl App {
|
|||
self.reset.open(action)?;
|
||||
flags.insert(NeedsUpdate::COMMANDS);
|
||||
}
|
||||
InternalEvent::AddHunk(hash) => {
|
||||
InternalEvent::StageHunk(hash) => {
|
||||
if let Some((path, is_stage)) =
|
||||
self.status_tab.selected_path()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -278,7 +278,7 @@ impl DiffComponent {
|
|||
.as_ref()
|
||||
.expect("try using queue in immutable diff")
|
||||
.borrow_mut()
|
||||
.push_back(InternalEvent::AddHunk(hash));
|
||||
.push_back(InternalEvent::StageHunk(hash));
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ pub enum InternalEvent {
|
|||
///
|
||||
ConfirmedAction(Action),
|
||||
///
|
||||
AddHunk(u64),
|
||||
StageHunk(u64),
|
||||
///
|
||||
ShowErrorMsg(String),
|
||||
///
|
||||
|
|
|
|||
Loading…
Reference in a new issue