Deon George <deon.george@xxxxxxxxx> writes: > I'm not sure if this is the right place, but I thought I'd post my > idea and maybe somebody will either redirect me to the right place, or > give me that "that won't happen". > > Im fairly new to GIT (wish I had discovered it long ago), and I really > like using it - great work guys/garls :) > > My idea is to enhance GIT to support (I'll call it) development > "layers". The current design of GIT is that the working repository and > working directory assume that all files belong together in the same > project. I would like to see GIT go 3D and support layers, so that > files (and/or file content) can belong to multiple repositories (or > considered unique projects), even though the working tree presents all > files as if they were one. [cut very long description] > Could this be included as part of GITs functionality (or is it > possible already) ? First, I assume there that you do not allow for the same file to belong to different repositories. Second, if all parts that you want to belong to other repository are in separate subdirectories, and all files in those subdirectories belong to this other repository, you can try either submodules (git-submodule), or subtree (subtree merge, or third-party git-subtree helper). Note also that this assume that you want to have 'master' repository which indirectly or directly has al the files. Third, if the above isn't what you want, then you can manually intermingle working directories of different git repositories (probably requiring decouplig of bare git repository (git-dir) from working area (work-tree)). Git repository know what files it tracks, so you would only need to take care to ignore files that belong to other repositories. If it is to manual for you, and to error prone, you are welcome to come up with set of scripts implementing "layers" feature you want. That is how initial version of submodule feature was done... -- Jakub Narebski Poland ShadeHawk on #git -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html