enhance: use --prune=now instead of --prune for git gc command

This commit is contained in:
leo 2024-10-17 15:50:42 +08:00
parent b23f284e21
commit fa2eb0cd26
No known key found for this signature in database

View file

@ -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)