rust/hg-core/src/dirstate/status.rs
changeset 47350 04d1f17f49e7
parent 47347 73ddcedeaadf
child 47409 0ef8231e413f
--- a/rust/hg-core/src/dirstate/status.rs	Fri May 28 11:48:59 2021 +0200
+++ b/rust/hg-core/src/dirstate/status.rs	Mon May 31 18:35:44 2021 +0200
@@ -293,6 +293,10 @@
 
     /// Only filled if `collect_traversed_dirs` is `true`
     pub traversed: Vec<HgPathCow<'a>>,
+
+    /// Whether `status()` made changed to the `DirstateMap` that should be
+    /// written back to disk
+    pub dirty: bool,
 }
 
 #[derive(Debug, derive_more::From)]
@@ -919,6 +923,7 @@
         bad,
         unsure,
         traversed,
+        dirty: false,
     }
 }