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)?;
flags.insert(NeedsUpdate::ALL)
}
InternalEvent::Fetch(branch) => {
InternalEvent::Pull(branch) => {
self.fetch_popup.fetch(branch)?;
flags.insert(NeedsUpdate::ALL)
}

View File

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

View File

@ -418,7 +418,7 @@ impl Status {
if let Some(branch) = self.git_branch_name.last() {
self.queue
.borrow_mut()
.push_back(InternalEvent::Fetch(branch));
.push_back(InternalEvent::Pull(branch));
}
}