Merge claudedo/e5aeaf59fae840adaea3f1e912e203e1

This commit is contained in:
mika kuns
2026-08-10 14:58:35 +02:00
6 changed files with 174 additions and 30 deletions
@@ -162,9 +162,9 @@ public sealed partial class DiffViewerViewModel : ViewModelBase
try
{
raw = FromCommitRange && BaseRef is not null && HeadCommit is not null
? await _git.GetCommitRangeDiffAsync(WorktreePath, BaseRef, HeadCommit, ct)
? await _git.GetCommitRangeDiffAsync(WorktreePath, BaseRef, HeadCommit, ct: ct)
: BaseRef is not null
? await _git.GetBranchDiffAsync(WorktreePath, BaseRef, ct)
? await _git.GetBranchDiffAsync(WorktreePath, BaseRef, ct: ct)
: await _git.GetDiffAsync(WorktreePath, ct);
}
catch (Exception ex)