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

Re: understanding how remote tracking works

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 9, 2010, 19:31 UTC
Message-ID
<7vaaov60rv.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20100809021900.GA10596@burratino>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 13 quoted lines
> Michael Witten wrote:
>> On Sun, Aug 8, 2010 at 20:53, Geoff Russell <geoffrey.russell@gmail.com> wrote:
>
>>> I'm working my way through Jon Loeliger's Git book and it's
>>> confusing when the actual behaviour differs from that in the book
>>
>> This probably results from the git culture's conflation (or should I
>> say confusion?) of low-level and high-level representations and
>> commands.
>
> I guess I’ll bite.  What does that mean?  We have “show-ref” and
> “update-ref” precisely as low-level commands that are independent
> of representation.

I tend to agree with Michael (modulo s/ culture/'s early&/) here. Many documents written in the early days, the "tutorial" document by Linus being the most prominent example, were written in a way to focus exposing the implementation details to show how simple the structure is. These documents and tips by early adopters, simply by virtue of being old, are found more easily by search engines. Later we started encouraging use of show-ref and update-ref to isolate users from the implementation details that can be changed for performance reasons.

> Probably the more relevant question: what do you want to do about it?

Continue the current course of encouraging the use of plumbing commands and not looking at the low-level implementation detail. Perhaps help people update their documents, moving stale descriptions into "historical note" sections.

Previous: Geoff RussellNext: Jonathan Nieder
Message 7 of 11 in “understanding how remote tracking works”
  1. Geoff RussellAug 9, 2010
  2. Ralf EbertAug 9, 2010
  3. Geoff RussellAug 9, 2010
  4. Michael WittenAug 9, 2010
  5. Jonathan NiederAug 9, 2010
  6. Geoff RussellAug 9, 2010
  7. Junio C HamanoAug 9, 2010
  8. Jonathan NiederAug 9, 2010
  9. discarding refs/original/* after filter-branch (Re: understanding how remote tracking works)Jonathan Nieder, Aug 9, 2010
  10. Documentation: add a FILES section for show-refJonathan Nieder, Aug 9, 2010
  11. Junio C HamanoAug 9, 2010

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.