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

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

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 14, 2023, 04:49 UTC
Message-ID
<xmqq1qct0wie.fsf@gitster.g>
In-Reply-To
<pull.1610.v2.git.1699917471769.gitgitgadget@gmail.com>
"Victoria Dye via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 9 quoted lines
>      * Removed references to "peeling" a commit; the updated definition
>        discusses "peeling" only in the context of tags.
>      * Added a cross-link from "dereference" to "peel" (one already existed
>        for "peel" to "dereference").
> ...
> +[[def_peel]]peel::
> +	The action of recursively <<def_dereference,dereferencing>> a
> +	<<def_tag_object,tag object>>.
> +

This was a bit surprising to me as I thought we would say "peel the tag once" vs "peel the tag repeatedly", but upon inspecting the existing code, documentation, and messages, we seem to mean by "to peel" to dereference a tag repeatedly until it no longer is a tag, which the new entry above exactly is (although "until the non-tag object is revealed" is missing).

Thanks.  Will queue.
Previous: Victoria Dye via GitGitGadget
Message 6 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.