Dear devs
I'm working on !8750, which has some knock-on changes that are needed on the Haddock repo. So
- in the main repo I have wip/T21623
- in the utils/haddock repo have branch wip/spj-T21623
Periodically I need to rebase on master.
Question: what is the Blessed Sequence of Commands that I should use to push the right changes to haddock? I think it is something like:
- In the main GHC repo, on branch wip/T21623
- git fetch
- git rebase origin/master
- In utils/haddock,
- identify the set of patches P1..Pn between the trunk and my haddock tip, the changes that I need to haddock.
- Somehow check out the haddock commit K that corresponds to origin/master
- Apply P1..Pn on top of K
- Force-push to origin/wip/spj-T21623
- Move to the main GHC repo
- git add utils/haddock
- Create a patch for that change
- Push to main repo
But I am not sure how to do step 2.2, nor what is an efficient way to do 2.3.
I would welcome very precise instructions. Thank you!
Simon