I have written a code base with multiple driver filers, where each of these depend on functions and objects in different files. I branched off for these changes and have now been asked to merge them one by one (i.e. each driver file with its relevant dependencies) into the main branch. The issue I have is that if driver A and driver B are both dependent on object file C, and all three were changed, I cannot merge for example A and C together without breaking the functionality of B.
Is there a solution for this besides the obvious one of just merging everything together at once?