A Git project has within it a second project whose content is being worked on independently.
Submodules cannot be used for the smaller, as even the subproject must be included when users attempt to clone or download the 'parent'.
Subtree-merging cannot be used, as the subproject is being actively developed, and subtree merging makes it very difficult to merge those updates back into the original project.
I have been informed that the solution is known in the SVN world as "Vendor Branches", and that it is so simply done in Git so as to not even need addressing. Half-baked tutorials abound on the 'net.
Nonetheless, I cannot seem to get it to work.
Can someone please (pretty please?) explain how I can create a structure whereby one project exists within another, and both can be developed and updated from the same working directory. Ideally [or rather: it is quite important, if unsupported] that when a client attempts to download the 'parent' project, that he should be given the latest version of the subproject automatically.
Please do NOT explain to me how I should use submodules or subtree-merges or even SVN:Externals. This thread is the outgrowth of the following SO thread, and if something was missed there, please DO post it there. This thread is trying to get an understanding of how to Vendor branches, and the longer, clearer, and more dummied an explanation I receive the happier I will be.
If you look just for the original question's title:
a good template for vendor branch pattern with git is on
https://www.roe.ch/Git_Reference
section Vendor branch pattern