Radish alpha
r
rad:z39mP9rQAaGmERfUMPULfPUi473tY
Radicle terminal user interface
Radicle
Git
patch/list: Do not load git stats on app start
Erik Kundt committed 3 months ago
commit d31fa28e7775709eb5e5875e38bd48721a5aef9c
parent 40200bd
1 file changed +1 -1
modified bin/commands/patch/list.rs
@@ -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));