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