From 97f88a2f2fb91bcb735d679369fb19f1865b74ef Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Sun, 28 Feb 2021 19:34:45 +0100 Subject: [PATCH] rename --- src/app.rs | 2 +- src/queue.rs | 2 +- src/tabs/status.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app.rs b/src/app.rs index 7aa8f904..357bdb9d 100644 --- a/src/app.rs +++ b/src/app.rs @@ -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) } diff --git a/src/queue.rs b/src/queue.rs index aa4694c0..9d1fa4c1 100644 --- a/src/queue.rs +++ b/src/queue.rs @@ -63,7 +63,7 @@ pub enum InternalEvent { /// Push(String, bool), /// - Fetch(String), + Pull(String), } /// diff --git a/src/tabs/status.rs b/src/tabs/status.rs index c3750aed..1af219c0 100644 --- a/src/tabs/status.rs +++ b/src/tabs/status.rs @@ -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)); } }