From: Johannes Schindelin Date: Sun, 20 Jul 2008 12:07:49 GMT Subject: Re: [RFC PATCH v2] Support gitlinks in fast-import. Message-ID: In-Reply-To: <200807191621.25654.angavrilov@gmail.com> Hi, On Sat, 19 Jul 2008, Alexander Gavrilov wrote: > Links can be represented by two forms of the > Modify command: > > M 160000 SHA1 some/path > > which sets the link target explicitly, or > > M 160000 :mark some/path > > where the mark refers to a commit. The latter > form can be used by importing tools to build > all submodules simultaneously in one physical > repository, and then simply fetch them apart. It seems that people like to do this, have their submodule branches in the superproject. I wonder if we should bless this by installing an alternate in the "git submodule init"ed submodules, or even do it during a "git submodule update". > + /* Links refer to objects in another repositories, so s/another/other/ Thanks, especially for the tests, Dscho