Does anyone know if the following mechanism would be possible?
Precondition A Git repository contains
- normal code files which shall be merged with the standard git merge mechanisms
- a data model which exists of several xml files and a project file (which shall be merged in whole with an own merge Script)
How it should work User enters normal git merge (or alternativ a custom git alias) and the Code files are merged with git standard mechansims and the complete Data model with an own Script. For the script it is necessary that all model files are merged in one step (a file-by-file merge is not possible as the merge script needs to know the complete model)
Anyone knows if this is technical possible with git? I know that merge drivers can be written but there I would not know how to proceed if no file by file merge is needed.