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

Re: [PATCH] Documentation: clarify glossary definition of "reachable"

From
Junio C Hamano <junkio@cox.net>
Date
Jan 8, 2007, 01:44 UTC
Message-ID
<7vvejiz40u.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20070108002839.GF18009@fieldses.org>
"J. Bruce Fields" <bfields@fieldses.org> writes:
Show 17 quoted lines
> Clarify glossary definition of "reachable" (what chain?)
>
> Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
> ---
>  Documentation/glossary.txt |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Documentation/glossary.txt b/Documentation/glossary.txt
> index 7c1a659..5886fa7 100644
> --- a/Documentation/glossary.txt
> +++ b/Documentation/glossary.txt
> @@ -236,7 +236,7 @@ push::
>  
>  reachable::
>  	An object is reachable from a ref/commit/tree/tag, if there is a
> -	chain leading from the latter to the former.
> +	chain of parent commits leading from the latter to the former.
That is better but the description is too commit centric.
        The set of reachable objects from a tag is the tag
        itself and the set of reachable objects from the object
        it tags.  The set of reachable objects from a commit is
        the commit itself, and the set of reachable objects from
        its parents and its tree.  The set of reachable objects
        from a tree is the tree itself, and the set of reachable
        objects from the trees and blobs contained within it.
        The set of reachable objects from a blob is the blob
        itself.

And that description is too verbose and too technical (definition being recursive). Better rewording?

Previous: J. Bruce FieldsNext: J. Bruce Fields
Message 2 of 3 in “Documentation: clarify glossary definition of "reachable"”
  1. Documentation: clarify glossary definition of "reachable"J. Bruce Fields, Jan 8, 2007
  2. Junio C HamanoJan 8, 2007
  3. J. Bruce FieldsJan 8, 2007

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.