Re: Transition from Subversion to Git
| From: | Justin Martin | Date: | Wed, 07 Dec 2011 17:09:59 +0000 |
| Subject: | Re: Transition from Subversion to Git | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969383486@lists.php.net to get a copy of this message | ||
On 11-12-07 02:58 AM, Hannes Magnusson wrote:
On Wed, Dec 7, 2011 at 01:57, Justin Martin<frozenfire@php.net> wrote:Hi Hannes, I was actually thinking of that issue, and thought that it would be a simple matter to use a client-side post-checkout hook to run "git submodules foreach git pull". That'd update each submodule. Not sure of the specifics in that regard, but I can't think of any other solution to that problem than submodules. Thanks, Justin MartinHello everyone, There's been some informal discussion in #php.doc on EFnet about how the transition from Subversion to Git will be achieved, and what the resulting structure will look like.We can't use submodules. Submodules in git reference a specific commit, not "last commit" like it does in svn by default. If we use git submodules in means; Every time we update doc-base, you have to update the submodule in _all_ translations to the last commit and commit the change. -Hannes