Merge task branch for: fix(ui): DiffModal — Commit-Range ohne HeadCommit zeigt stillen Falsch-Diff
This commit is contained in:
@@ -110,6 +110,12 @@ public sealed partial class DiffModalViewModel : ViewModelBase
|
||||
Files.Clear();
|
||||
StatusMessage = null;
|
||||
|
||||
if (FromCommitRange && (BaseRef is null || HeadCommit is null))
|
||||
{
|
||||
StatusMessage = Loc.T("vm.diff.unavailable");
|
||||
return;
|
||||
}
|
||||
|
||||
string raw;
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user