enhance: leave remote branch to empty when the local branch tracks no branch in the remote while pulling changes (#469)

This commit is contained in:
leo 2024-09-13 17:27:56 +08:00
parent ab8b27c1f8
commit 1ec5cc416d
No known key found for this signature in database
2 changed files with 5 additions and 4 deletions

View file

@ -210,7 +210,7 @@ namespace SourceGit.ViewModels
}
if (!autoSelectedBranch)
SelectedBranch = branches.Count > 0 ? branches[0] : null;
SelectedBranch = null;
}
private readonly Repository _repo = null;