patch/list: Do not load git stats on app start

This commit is contained in:
Erik Kundt
2026-01-20 14:29:20 +01:00
parent 40200bd7ba
commit d31fa28e77
+1 -1
View File
@@ -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));