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

Re: Possible submodule or submodule documentation issue

From
BZBill Zaumen <bill.zaumen+git@gmail.com>
Date
Jan 2, 2012, 03:53 UTC
Message-ID
<1325476413.1718.20.camel@yos>
In-Reply-To
<4F00780C.7090801@web.de>
On Sun, 2012-01-01 at 16:13 +0100, Jens Lehmann wrote:
> Am 29.12.2011 03:50, schrieb Bill Zaumen:
> >  So what about clarifying
> the docs: ...

Clarifying the docs is a good solution given that a possibly large number of existing repositories are dependent on the current behavior.

One way of explaining it is to say that "git first appends a '/' to the superproject's origin URL if that URL does not already end in a '/'. Relative URLs for submodules' origin repository are resolved relative to this modified URL." Then the reader can simply apply the normal URL rules.

I think either is OK - it's simply a judgment call as to which explanation is easiest for a typical git user to understand.

Previous: Jens LehmannNext: Junio C Hamano
Message 5 of 6 in “Possible submodule or submodule documentation issue”
  1. Bill ZaumenDec 27, 2011
  2. Jens LehmannDec 28, 2011
  3. Bill ZaumenDec 29, 2011
  4. Jens LehmannJan 1, 2012
  5. Bill ZaumenJan 2, 2012
  6. Junio C HamanoJan 3, 2012

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.