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

Re: [PATCH] glossary: add definitions for dereference & peel

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 10, 2023, 05:20 UTC
Message-ID
<xmqqa5rmw5ff.fsf@gitster.g>
In-Reply-To
<xmqq1qcyxxri.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
> I've never seen "peel" used for commits, though.  So another
> improvement might be to say "peel" is "an act of dereferencing a
> tag" here.

I am reasonably sure I was the one who coined the term "peel", and the picture I had in mind when I used it was to peel an onion, which inherently was about unwrapping many levels repeatedly. I think that is why it felt strange to see "peel" used in the context of using a commit as a tree-ish, which (as your documentation update clearly said) is doable only once.

Previous: Junio C HamanoNext: Kristoffer Haugsbakk
Message 3 of 6 in “glossary: add definitions for dereference & peel”
  1. glossary: add definitions for dereference & peelVictoria Dye via GitGitGadget, Nov 9, 2023
  2. Junio C HamanoNov 10, 2023
  3. Junio C HamanoNov 10, 2023
  4. Kristoffer HaugsbakkNov 10, 2023
  5. glossary: add definitions for dereference & peelVictoria Dye via GitGitGadget, Nov 13, 2023
  6. Junio C HamanoNov 14, 2023

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.