I have a repository for a project that contains both an executable and a library.
My repo
|->src
|->my-exe
|->my-lib
I am now working with a company that wants to use my library in their project as well. They want to vendor (i.e., make a one-time copy of) a subset of my repository in their repository.
Their repo
|->src
|->their-exe
|->vendor
|->src
|->my-lib
They won't use a submodule or clone my repository during build time. They want a separate copy of my code. I will likely be the one managing both sets of source code.
My questions is: Is there a clean way to automatically keep the two sets of code in sync so that I can manage any future changes from a single repository?