mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08: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…
Reference in a new issue