summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2024-07-27 21:00:16 +0200
committerCanop <cano.petrole@gmail.com>2024-07-27 21:00:16 +0200
commite62d5869a9b0e2182073e6284d7a028eefbf48f8 (patch)
tree3b07235b3533370690fecd8d14fb6716bcd6696b
parent1f994018214d25753305f55fc1a1f5dbdbe1a5a6 (diff)
I mark on git ignored files when git file infos are showngit-ignored-status
Fix #916
-rw-r--r--src/git/status.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/git/status.rs b/src/git/status.rs
index df10a2d..07605a5 100644
--- a/src/git/status.rs
+++ b/src/git/status.rs
@@ -12,7 +12,10 @@ use {
};
const INTERESTING: Status = Status::from_bits_truncate(
- Status::WT_NEW.bits() | Status::CONFLICTED.bits() | Status::WT_MODIFIED.bits(),
+ Status::WT_NEW.bits()
+ | Status::CONFLICTED.bits()
+ | Status::WT_MODIFIED.bits()
+ | Status::IGNORED.bits()
);
/// A git status