Fixed checking out remote branch doesn't preserve the starting point
This commit is contained in:
parent
45d89f3699
commit
cd19a62ae9
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ class LogManager @Inject constructor(
|
|||
if (ref.isBranch && ref.name.startsWith("refs/remotes/")) {
|
||||
setCreateBranch(true)
|
||||
setName(ref.simpleName)
|
||||
setStartPoint(ref.objectId.name)
|
||||
setUpstreamMode(CreateBranchCommand.SetupUpstreamMode.TRACK)
|
||||
}
|
||||
call()
|
||||
|
|
Loading…
Reference in a new issue