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

Re: main url for linking to git source?

From
Junio C Hamano <gitster@pobox.com>
Date
May 7, 2018, 12:18 UTC
Message-ID
<xmqqsh73pslj.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20180507063713.GA28961@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 12 quoted lines
> The git-scm.com site currently links to https://github.com/git/git for
> the (non-tarball) source code. Somebody raised the question[1] of
> whether it should point to kernel.org instead. Do people find one
> interface more or less pleasing than the other? Do we want to prefer
> kernel.org as more "official" or less commercial?
>
> I could see arguments both ways, so I thought I'd take a straw poll of
> what people on the list think.
>
> -Peff
>
> [1] https://github.com/git/git-scm.com/pull/1202

I personally do not think 'the' main url for linking to git source does not exist and depends on what the URL is going to be used for.

In the context of the cited PR#1202, for example, the first hunk is about a URL that appears in a sentence like this (paraphrased):

    "... If you want to build from the source and fix bugs yourself,
    use this URL to clone and try the next branch; the issue you
    have may have already been solved ...".

The URL is *clearly* about feeding it to "git clone" so prettyness or familiarlity of the Web UI at that URL does not matter an iota. Unless one of k.org or github.com has far superiour bandwidth and latency over the other, I do not think it matters which one is recommended in the documentation.

But perhaps in another context in the same document (I didn't closely look at the rest of PR#1202), a URL may be involved in viewing a patch in Gitweb/cgit interface. In such a context, Web UI's familiarity would matter a lot more.

Previous: Konstantin RyabitsevNext: Stefan Beller
Message 4 of 10 in “main url for linking to git source?”
  1. Jeff KingMay 7, 2018
  2. Johannes SchindelinMay 7, 2018
  3. Konstantin RyabitsevMay 7, 2018
  4. Junio C HamanoMay 7, 2018
  5. Stefan BellerMay 7, 2018
  6. brian m. carlsonMay 8, 2018
  7. Konstantin RyabitsevMay 8, 2018
  8. Junio C HamanoMay 8, 2018
  9. brian m. carlsonMay 8, 2018
  10. Kaartic SivaraamMay 8, 2018

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.