mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 09:28:21 +00:00
rename
This commit is contained in:
parent
bd54b47d19
commit
97f88a2f2f
3 changed files with 3 additions and 3 deletions
|
|
@ -551,7 +551,7 @@ impl App {
|
||||||
self.push_popup.push(branch, force)?;
|
self.push_popup.push(branch, force)?;
|
||||||
flags.insert(NeedsUpdate::ALL)
|
flags.insert(NeedsUpdate::ALL)
|
||||||
}
|
}
|
||||||
InternalEvent::Fetch(branch) => {
|
InternalEvent::Pull(branch) => {
|
||||||
self.fetch_popup.fetch(branch)?;
|
self.fetch_popup.fetch(branch)?;
|
||||||
flags.insert(NeedsUpdate::ALL)
|
flags.insert(NeedsUpdate::ALL)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ pub enum InternalEvent {
|
||||||
///
|
///
|
||||||
Push(String, bool),
|
Push(String, bool),
|
||||||
///
|
///
|
||||||
Fetch(String),
|
Pull(String),
|
||||||
}
|
}
|
||||||
|
|
||||||
///
|
///
|
||||||
|
|
|
||||||
|
|
@ -418,7 +418,7 @@ impl Status {
|
||||||
if let Some(branch) = self.git_branch_name.last() {
|
if let Some(branch) = self.git_branch_name.last() {
|
||||||
self.queue
|
self.queue
|
||||||
.borrow_mut()
|
.borrow_mut()
|
||||||
.push_back(InternalEvent::Fetch(branch));
|
.push_back(InternalEvent::Pull(branch));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue