code_review: PR #1180

- replace `SetNeedNavigateToUpstreamHead` with `NavigateToBranchDelayed`
- navigate to current HEAD instead of original source HEAD after merge

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-04-14 11:35:50 +08:00
parent 17cf402c78
commit 0cb2ca78fe
No known key found for this signature in database
5 changed files with 15 additions and 30 deletions

View file

@ -83,7 +83,7 @@ namespace SourceGit.ViewModels
CallUIThread(() =>
{
_repo.SetNeedNavigateToUpstreamHead();
_repo.NavigateToBranchDelayed(_repo.CurrentBranch?.Upstream);
_repo.MarkFetched();
_repo.SetWatcherEnabled(true);
});