fix(git): carry the pathspec into GetBranchDiffAsync's fallback
This commit is contained in:
@@ -165,7 +165,7 @@ public sealed partial class DiffViewerViewModel : ViewModelBase
|
||||
? await _git.GetCommitRangeDiffAsync(WorktreePath, BaseRef, HeadCommit, ct: ct)
|
||||
: BaseRef is not null
|
||||
? await _git.GetBranchDiffAsync(WorktreePath, BaseRef, ct: ct)
|
||||
: await _git.GetDiffAsync(WorktreePath, ct);
|
||||
: await _git.GetDiffAsync(WorktreePath, ct: ct);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user