mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 20:54:59 +00:00
fix: when base is current worktree, the diff content of selected change is wrong
* remove warnings in JetBrains Rider (it seems JetBrains can NOT recognize Binding.TargetNullValue)
This commit is contained in:
parent
4612cecf10
commit
20b45a1cf4
7 changed files with 31 additions and 42 deletions
|
@ -71,8 +71,8 @@ namespace SourceGit.ViewModels
|
|||
public RevisionCompare(string repo, Models.Commit startPoint, Models.Commit endPoint)
|
||||
{
|
||||
_repo = repo;
|
||||
_startPoint = startPoint;
|
||||
_endPoint = endPoint;
|
||||
_startPoint = (object)startPoint ?? new Models.Null();
|
||||
_endPoint = (object)endPoint ?? new Models.Null();
|
||||
|
||||
Task.Run(Refresh);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue