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

Re: [PATCH] doc: add some crossrefs between manual pages

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 12, 2014, 20:58 UTC
Message-ID
<xmqqbnoc3zli.fsf@gitster.dls.corp.google.com>
In-Reply-To
<96693472-344E-4ED3-B027-49A8303AF8C0@quendi.de>
Max Horn <max@quendi.de> writes:
Show 12 quoted lines
> On 11.11.2014, at 23:51, Junio C Hamano <gitster@pobox.com> wrote:
> ...
>>> +linkgit:git-fast-import[1]
>> 
>> This looks somewhat out of place; fast-import is not the only or
>> even the primary way to do a remote-helper, is it?
>
> It depends on how you look at it, I'd say. If you write a remote-helper that
> uses the import/export feature, it is absolutely vital.  All remote helpers
> I ever worked on are of that kind, so to me it is the primary way ;-),
> although of course I realize there are others. So, how would you determine
> which of the various methods is the "primary" one?

You don't. If there exists no clear "primary" one, you do not have to designate a random one as the "primary".

I just thought that these references are to related/relevant pages in the same family of commands, and not a place to list possible implementation technologies. We do not say "see also libcurl" only because we have the curl-based remote helper that almost everybody uses to interact with other repositories over https:// URLs here, and do not list send-pack or receive-pack, even though the pair would be a natural way to implement 'fetch' and 'push' methods to a helper to interact with a native Git repository, either.

Previous: Max HornNext: Junio C Hamano
Message 4 of 6 in “doc: add some crossrefs between manual pages”
  1. doc: add some crossrefs between manual pagesMax Horn, Nov 11, 2014
  2. Junio C HamanoNov 11, 2014
  3. Max HornNov 12, 2014
  4. Junio C HamanoNov 12, 2014
  5. Junio C HamanoNov 12, 2014
  6. Jonathan NiederDec 9, 2014

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.