From: H.Merijn Brand Date: Thu, 31 Jul 2008 12:39:55 GMT Subject: Re: Merging submodules Message-ID: <20080731143955.034f0577@pc09.procura.nl> In-Reply-To: <20080731092104.1a6ce8bd@pc09.procura.nl> On Thu, 31 Jul 2008 09:21:04 +0200, "H.Merijn Brand" wrote: > I will now be playing with the results a bit. I have attached the > script, in case you might want to use it in documentation or examples. > For now, all the mods are hardcoded. No arguments and so on. > > Again, Thanks! There is a slight problem with this merging approach. The path names are as they are/were in the submodules. In module_a, foo.pl was without a leading module_a/ path, and now after integration, it still is. Is it possible to rethink this whole process that integrates/merges the several git repo's in subfolders into the current folder, as-if they would have been in this folder in the first place? Short summary: History made me have the current situation 4gl 4gl/fnc 4gl/fnc/.git 4gl/foo 4gl/foo/.git : : 4gl/zlork 4gl/zlork/.git Where I want 4gl 4gl/.git 4gl/fnc 4gl/foo : 4gl/zlork -- H.Merijn Brand Amsterdam Perl Mongers http://amsterdam.pm.org/ using & porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00, 11.11, 11.23, and 11.31, SuSE 10.1, 10.2, and 10.3, AIX 5.2, and Cygwin. http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/