From: Heiko Voigt Date: Wed, 24 Sep 2008 15:05:27 GMT Subject: Re: Partial tree export and merging Message-ID: <48DA5737.4030909@mahr.de> In-Reply-To: <20080924143945.GN3669@spearce.org> Shawn O. Pearce schrieb: > Once the history is split into a new "doc+html" repository have > developers _only_ edit the docs/html in the doc+html repository, > don't make more edits in the source code repository. The problem with committing into 2 repositories (only merging from one side) is that the docs/html also contain localization files which make it hard to work/test the code because localization strings are initially added by the developers. They would then have to change in the 2nd repo and pull for testing. > You can use git-submodule or git-merge with the subtree strategy > to pull changes from the doc+html repository into the main source > repository. Would git submodule work with this kind of layout? Same folders containing different files. I thought submodules only work with subdirectories which are itself a git repo. cheers Heiko