This commit is contained in:
Stephan Dilly 2021-02-28 19:34:45 +01:00
parent bd54b47d19
commit 97f88a2f2f
3 changed files with 3 additions and 3 deletions

View file

@ -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)
} }

View file

@ -63,7 +63,7 @@ pub enum InternalEvent {
/// ///
Push(String, bool), Push(String, bool),
/// ///
Fetch(String), Pull(String),
} }
/// ///

View file

@ -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));
} }
} }