On 01.02.25 01:06, Till Wegmueller wrote:

In the git repos exists a directory src/brands which should diverge
between the forks while patches should be moved from https://github.com/
omniosorg/pkg5 into https://github.com/OpenIndiana/pkg5

Ok. First you need is a common baseline (separate branch). Which one
should it be ?

Let's say OI's one shall become the new base line:

in OI's pkg5 repo:

* branch off from master -> let's call it 'common_base'
* now in that branch remove everything that's not common to all
  (eg. src/brand)
* rebase the master onto common_base & revert the removal commit again
  (yes, "git revert" instead of "git reset HEAD^)

  --> common_base branch has that stuff removed
  --> master (which based on common_base) has a commit that re-adds
      this again

Now the others also need to be rebased onto common_base (and possibly
reintroduce removed stuff) - this can be a bit more tricky ...

How much (or when) have these two diverged ? When's the last common
ancestor ?



--mtx

--
---
Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert
werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren
GPG/PGP-Schlüssel zu.
---
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
i...@metux.net -- +49-151-27565287


------------------------------------------
illumos: illumos-discuss
Permalink: 
https://illumos.topicbox.com/groups/discuss/Taf30d1b2db20938f-M66a4f8af596b5cb68cef8038
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

Reply via email to