mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-10-18 19:10:36 +08:00
patch/list: Do not load git stats on app start
This commit is contained in:
@@ -185,7 +185,7 @@ impl TryFrom<&Context> for App {
|
||||
let mut patches = cache
|
||||
.list()?
|
||||
.filter_map(|patch| patch.ok())
|
||||
.flat_map(|patch| Patch::new(&context.profile, &context.repository, patch.clone()).ok())
|
||||
.flat_map(|patch| Patch::without_stats(&context.profile, patch.clone()).ok())
|
||||
.collect::<Vec<_>>();
|
||||
patches.sort_by(|a, b| b.timestamp.cmp(&a.timestamp));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user