refactor: use --format=<format> instead of --pretty=format:<format>

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-03-17 20:46:01 +08:00
parent 808302ce84
commit 8d47bd5cd9
No known key found for this signature in database
7 changed files with 8 additions and 10 deletions

View file

@ -8,7 +8,7 @@ namespace SourceGit.Commands
{
WorkingDirectory = repo;
Context = repo;
Args = $"log --date-order --branches --remotes -{max} --pretty=format:\"%ct$%aN\"";
Args = $"log --date-order --branches --remotes -{max} --format=%ct$%aN";
}
public Models.Statistics Result()