We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d74586 commit 957c52aCopy full SHA for 957c52a
src/ViewModels/Repository.cs
@@ -172,7 +172,7 @@ public Models.Branch CurrentBranch
172
private set
173
{
174
var oldHead = _currentBranch?.Head;
175
- if (SetProperty(ref _currentBranch, value))
+ if (SetProperty(ref _currentBranch, value) && value != null)
176
177
if (oldHead != _currentBranch.Head && _workingCopy is { UseAmend: true })
178
_workingCopy.UseAmend = false;
0 commit comments