sourcegit-scm/sourcegit

Fetch Remote Changes Dialog not set Default Remote value in the Remote dropdown list component.

Closed this issue · 14 comments

My repository have two remote, But Fetch Remote Changes Dialog not set the Default Remote value in the Remote dropdown list component.

Repository Configure

Image

Fetch Remote Changes Dialog

Image

Done. You can download the latest CI build from Github Action.

@love-linger I found the following from the CI log, but opening the link shows 404.

Artifact sourcegit.win-x64 has been successfully uploaded! Final size is 52696828 bytes. Artifact ID is 2606487780
Artifact download URL: https://github.com/sourcegit-scm/sourcegit/actions/runs/13382348834/artifacts/2606487780

sourcegit.win-x64 is an output of Build Windows x64 step. It will be repacked by Package Windows (win-x64) step and deleted after that.

Please download the package.win-x64

@love-linger There's still a problem.

Image

Pull (Fetch & Merge) dialog is Ok. But Fetch Remote Changes dialog not effect.

Image

SourceGit.ViewModels.Repository.Fetch The fetch button on the toolbar would not set preferedRemote to Fetch popup

Edit: I think prefered should be renamed to preferred

@love-linger Do you understand?

These two buttons correspond to two pop-up windows.
Both of these windows should use the default remote I set up.

Image

Artifact sourcegit.win-x64 has been successfully uploaded! Final size is 52696828 bytes. Artifact ID is 2606487780
Artifact download URL: https://github.com/sourcegit-scm/sourcegit/actions/runs/13382348834/artifacts/2606487780

Maybe you have downloaded the wrong version. It should be https://github.com/sourcegit-scm/sourcegit/actions/runs/13427089137

You just download the release 2025.05 not commit 08da3ac

Sorry, I did download the wrong one. It works now.