diff options
author | Canop <cano.petrole@gmail.com> | 2021-04-20 14:28:55 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2021-04-20 14:28:55 +0200 |
commit | 87db0b89a7975216f6810392945a0e57548406e0 (patch) | |
tree | e81ddc29ff15e7c4eb61092b98798dda884d80e5 /src/display | |
parent | e1bc9547cc0aae6652a62c0ca2187ded9acb03a8 (diff) |
staging area filtered with pattern
Diffstat (limited to 'src/display')
-rw-r--r-- | src/display/displayable_tree.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/displayable_tree.rs b/src/display/displayable_tree.rs index 906a878..4e76f4b 100644 --- a/src/display/displayable_tree.rs +++ b/src/display/displayable_tree.rs @@ -479,7 +479,7 @@ impl<'a, 's, 't> DisplayableTree<'a, 's, 't> { cw.queue_char(space_style, ' ')?; } let staged = self.app_state - .map_or(false, |a| a.stage.paths.contains(&line.path)); + .map_or(false, |a| a.stage.contains(&line.path)); for col in &visible_cols { let void_len = match col { |