git import: the trace's memory sum in parentheses, for clippy (refs #25) d2e3c39da1b1
- Author
- Andy McCall @andymccall <[email protected]>
- When
- · 2026-10-01 03:54 UTC
- Signature
- ✔ signed by Andy McCall
- Hash
d2e3c39da1b150343bde2a7956571b058c46a912286fba8dfa73285b02f2b3f3- Depends on
- 79ab8528ff62 fb5b6181618a
- Depended on by
- nothing yet
- In bookmarks
- agents-in-readme bare-hashes carried-not-removed carry-identical doctor-trust identical-sides keyless-tags main merge-remote-bookmark only-help-103 paths-for-resolutions-and-amend push-notes show-stat subrepo-pin-state switch-says
- In tags
- v0.10.0 v0.11.0 v0.2.0 v0.3.0 v0.3.1 v0.4.0 v0.4.1 v0.4.2 v0.4.3 v0.4.4 v0.4.5 v0.4.6 v0.5.0 v0.5.1 v0.6.0 v0.7.0 v0.8.0 v0.9.0
- Edits
- 2 atoms, 0 tree operations, 1 file
Browse the tree at this change
modified crates/oxy-core/src/repo/git.rs +1 −1
| … | 749 unchanged lines |
||
| 750 | 750 | std::fs::read_to_string("/proc/self/statm") |
|
| 751 | 751 | .ok() |
|
| 752 | 752 | .and_then(|s| s.split_whitespace().nth(1)?.parse::<u64>().ok()) |
|
| 753 | - | .map(|pages| pages * 4096 >> 20) |
|
| 753 | + | .map(|pages| (pages * 4096) >> 20) |
|
| 754 | 754 | .unwrap_or(0) |
|
| 755 | 755 | }; |
|
| 756 | 756 | let mut done = 0usize; |
|
| … | 922 unchanged lines |