tuhaihe commented on PR #1629:
URL: https://github.com/apache/cloudberry/pull/1629#issuecomment-4175641504

   > +1. I grouped the commits. We want to merge/(rebase + merge), with just 
merge preferred. However, merging main into the current branch might cause a 
criss-cross merge later.
   > 
   > Folks, thanks all for the review. We fixed a couple of problems during it 
that we hadn't discovered previously.
   
   Merged! Thanks @NJrslv @Smyatkin-Maxim for your great work again!
   
   I'd also like to share an experience regarding integrating a long-standing 
project (let's call it Project A) into the current repository, for future 
reference. Initially, Project A might have been maintained in a separate 
repository with a directory structure that doesn't align with the current 
project. During the rebase process, conflicts can arise between Project A's 
commit history and the current directory files. This is because rebase replays 
each of Project A's past commits one by one.
   
   Therefore, when introducing similar projects into the current repository in 
the future, it's best to first add a target directory prefix to Project A, and 
then import its commit history into this new target directory. This way, the 
replayed commit history will only occur within the target directory, preventing 
conflicts with the main repository's top-level directories. This is an 
experience I gained while merging disktuqota, and I wanted to share it for your 
reference.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to