From b9ed0987ebf880f9d644649377eef7b1b8481240 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 16 Jul 2024 18:04:16 +0800 Subject: [PATCH] enhance: gc will use `--prune` argument --- src/Commands/GC.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/GC.cs b/src/Commands/GC.cs index f40b665c..61735f53 100644 --- a/src/Commands/GC.cs +++ b/src/Commands/GC.cs @@ -10,7 +10,7 @@ namespace SourceGit.Commands WorkingDirectory = repo; Context = repo; TraitErrorAsOutput = true; - Args = "gc"; + Args = "gc --prune"; } protected override void OnReadline(string line)