From 3eb8a820053b8126ed931b0d37db1f5ad0c83d9c Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 8 Mar 2024 09:29:54 +0800 Subject: [PATCH] feature: use branch's fullname to create new branch based on selected one --- src/ViewModels/CreateBranch.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ViewModels/CreateBranch.cs b/src/ViewModels/CreateBranch.cs index 73d19ca4..4dd3b5af 100644 --- a/src/ViewModels/CreateBranch.cs +++ b/src/ViewModels/CreateBranch.cs @@ -28,7 +28,7 @@ namespace SourceGit.ViewModels { public CreateBranch(Repository repo, Models.Branch branch) { _repo = repo; - _baseOnRevision = branch.Head; + _baseOnRevision = branch.FullName; BasedOn = branch; View = new Views.CreateBranch() { DataContext = this };