From fa2eb0cd26350501c1d9e9e483dc226d7f596c9e Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 17 Oct 2024 15:50:42 +0800 Subject: [PATCH] enhance: use `--prune=now` instead of `--prune` for `git gc` command --- 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 61735f53..393b915e 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 --prune"; + Args = "gc --prune=now"; } protected override void OnReadline(string line)