fix setting imported tree
bf7ecd6892
went too far and broke
importing, the old tree was used on the remote tracking branch and not
the newly imported tree.
Test suite noticed the problem luckily.
This commit is contained in:
parent
6c7bbe2c5a
commit
c5e0f9b3a5
2 changed files with 9 additions and 9 deletions
|
@ -192,7 +192,7 @@ buildImportCommit' importcommitconfig mtrackingcommit imported@(History ti _) =
|
|||
let oldimportedtrees = mapHistory historyCommitTree oldimported
|
||||
mknewcommits oldhc oldimportedtrees imported
|
||||
Just <$> makeRemoteTrackingBranchMergeCommit'
|
||||
trackingcommit importedcommit
|
||||
trackingcommit importedcommit ti
|
||||
where
|
||||
h'@(History t s) = mapHistory historyCommitTree h
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue