summaryrefslogtreecommitdiffstats
path: root/src/browser_states.rs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2020-02-03 21:25:19 +0100
committerCanop <cano.petrole@gmail.com>2020-02-03 21:25:19 +0100
commit8c945f5cc133e72b6c4fad1f69c202cf74eefbed (patch)
treecbd884729bbb8bf819a10c48ac752029e36216ff /src/browser_states.rs
parent78c4df297466a58812093ee43a5d270065746c1e (diff)
much faster :git_status
All git statuses are itered at once in order to avoid calling the libgit2 library several times (those calls are very costly)
Diffstat (limited to 'src/browser_states.rs')
-rw-r--r--src/browser_states.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/browser_states.rs b/src/browser_states.rs
index 00414ec..1181ee3 100644
--- a/src/browser_states.rs
+++ b/src/browser_states.rs
@@ -218,10 +218,6 @@ fn make_opener(
impl AppState for BrowserState {
fn has_pending_task(&self) -> bool {
- debug!(
- "CHECK self.displayed_tree().is_missing_git_status_computation() = {}",
- self.displayed_tree().is_missing_git_status_computation(),
- );
self.pending_pattern.is_some()
|| self.displayed_tree().has_dir_missing_size()
|| self.displayed_tree().is_missing_git_status_computation()