File Original contains:
ObjectA
Some funtions for Object A
some more functions for Object A
ObjectB
Some functions for Object B
some more functions for Object B
ObjectC
Some functions for Object C
some more functions for Object C
This should be split up into three files:
ObjectA
ObjectB
ObjectC
Such that File ObjectA contains:
ObjectA
Some funtions for Object A
some more functions for Object A
Such that File ObjectB contains:
ObjectB
Some funtions for Object B
some more functions for Object B
Such that File ObjectC contains:
ObjectC
Some funtions for Object C
some more functions for Object C
Later file Original is updated:
ObjectA
Some funtions for Object A
some more functions for Object A
even more functions for Object A
ObjectB
Some functions for Object B
some more functions for Object B
even more functions for Object B
ObjectC
Some functions for Object C
some more functions for Object C
even more functions for Object C
Is it somehow possible to use git to automate the updating of File ObjectA, File ObjectB File ObjectC so that all three files contain the new line such that:
Such that File ObjectA contains:
ObjectA
Some funtions for Object A
some more functions for Object A
even more functions for Object A
Such that File ObjectB contains:
ObjectB
Some funtions for Object B
some more functions for Object B
even more functions for Object B
Such that File ObjectC contains:
ObjectC
Some funtions for Object C
some more functions for Object C
even more functions for Object C
This is a scenerio where the original file is updated by a different user.
It would be very nice if a feature git had this detection capability for two reasons:
Big teams/projects that might not want to freeze such a big fle.
No-cooperating teams/repository that don't want to split the file.