Re: [RFC PATCH v2] Support gitlinks in fast-import.
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 20, 2008, 12:07 UTC
- Message-ID
- <alpine.DEB.1.00.0807201404280.3305@eeepc-johanness>
- In-Reply-To
- <200807191621.25654.angavrilov@gmail.com>
Hi,
On Sat, 19 Jul 2008, Alexander Gavrilov wrote:
Show 13 quoted lines
> 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