fix: git rev-list raises errors after selected commit in Histories page (#1101)

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-03-17 10:55:54 +08:00
parent 450dadf76c
commit 6273c01d71
No known key found for this signature in database

View file

@ -9,7 +9,7 @@ namespace SourceGit.Commands
WorkingDirectory = repo;
Context = repo;
_commit = commit;
Args = $"rev-list -{max} --parents --branches --remotes --ancestry-path={commit} ^{commit}";
Args = $"rev-list -{max} --parents --branches --remotes --ancestry-path ^{commit}";
}
public List<string> Result()