git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Alexander Gavrilov
Message 2 of 2 in “Support gitlinks in fast-import.”
  1. Support gitlinks in fast-import.Alexander Gavrilov, Jul 19, 2008
  2. Johannes SchindelinJul 20, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.