mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 12:15:00 +00:00
feature: use branch's fullname to create new branch based on selected one
This commit is contained in:
parent
59b7fd8c61
commit
3eb8a82005
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ namespace SourceGit.ViewModels {
|
||||||
|
|
||||||
public CreateBranch(Repository repo, Models.Branch branch) {
|
public CreateBranch(Repository repo, Models.Branch branch) {
|
||||||
_repo = repo;
|
_repo = repo;
|
||||||
_baseOnRevision = branch.Head;
|
_baseOnRevision = branch.FullName;
|
||||||
|
|
||||||
BasedOn = branch;
|
BasedOn = branch;
|
||||||
View = new Views.CreateBranch() { DataContext = this };
|
View = new Views.CreateBranch() { DataContext = this };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue