Submitter | Yuya Nishihara |
---|---|
Date | Aug. 17, 2019, 12:12 p.m. |
Message ID | <af8265f67d45cfff198c.1566043925@mimosa> |
Download | mbox | patch |
Permalink | /patch/41326/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/rust/hg-core/src/dirstate/dirstate_map.rs b/rust/hg-core/src/dirstate/dirstate_map.rs --- a/rust/hg-core/src/dirstate/dirstate_map.rs +++ b/rust/hg-core/src/dirstate/dirstate_map.rs @@ -20,10 +20,7 @@ use std::time::Duration; pub type FileFoldMap = HashMap<Vec<u8>, Vec<u8>>; -const NULL_REVISION: [u8; 20] = [ - b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', - b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', -]; +const NULL_REVISION: [u8; 20] = [0; 20]; const MTIME_UNSET: i32 = -1; const SIZE_DIRTY: i32 = -2;