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

@ -6,7 +6,7 @@ namespace SourceGit.Commands
{
WorkingDirectory = repo;
Context = repo;
Args = $"show --no-show-signature --pretty=format:%B -s {sha}";
Args = $"show --no-show-signature --format=%B -s {sha}";
}
public string Result()