Submodule relative URL problems

2014-01-13 Thread Lianheng Tong
Hi All, I am currently working on a project, call it A, which contains several sub-projects B, C, D. The B, C, D are actually experimental input and outputs for simulation runs, which I need to keep track of the daily changes. Most of these calculations are done on workstation, but I do need

Re: Submodule relative URL problems

2014-01-13 Thread Jonathan Nieder
Hi, Lianheng Tong wrote: git clone W1:path to A on W1/.git path to A on W2 Interesting. Thoughts: * More typical usage is to clone from a bare repository (A.git), which wouldn't have this problem. But I think your case is worth supporting, too. * What would you think of putting

Re: Re: Submodule relative URL problems

2014-01-13 Thread Heiko Voigt
Hi, On Mon, Jan 13, 2014 at 11:55:18AM -0800, Jonathan Nieder wrote: Lianheng Tong wrote: git clone W1:path to A on W1/.git path to A on W2 Interesting. Thoughts: * More typical usage is to clone from a bare repository (A.git), which wouldn't have this problem. But I think

Re: Submodule relative URL problems

2014-01-13 Thread Junio C Hamano
Jonathan Nieder jrnie...@gmail.com writes: * More typical usage is to clone from a bare repository (A.git), which wouldn't have this problem. But I think your case is worth supporting, too. I think the relative URL among nested submodules was specifically designed for hosting