From: Richard Hansen Date: Wed, 19 Jun 2013 02:09:39 GMT Subject: [PATCH 3/4] glossary: more precise definition of tree-ish (a.k.a. treeish) Message-ID: <1371607780-2966-4-git-send-email-rhansen@bbn.com> In-Reply-To: <1371607780-2966-1-git-send-email-rhansen@bbn.com> Mention dereferencing, and that a commit dereferences to a tree, to support gitrevisions(7) and rev-parse's error messages. Signed-off-by: Richard Hansen --- Documentation/glossary-content.txt | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Documentation/glossary-content.txt b/Documentation/glossary-content.txt index a3cc003..9a50fe1 100644 --- a/Documentation/glossary-content.txt +++ b/Documentation/glossary-content.txt @@ -498,9 +498,19 @@ should not be combined with other pathspec. <> is equivalent to a <>. [[def_tree-ish]]tree-ish (also treeish):: - A <> pointing to either a <>, a <>, or a <> pointing to a tag or commit or tree object. + A <> pointing to an <> that + can be recursively dereferenced to a + <>. + Dereferencing a <> yields the + tree object corresponding to the <>'s + top <>. + The following are all tree-ishes: + a <>, + a ref pointing to a tree object, + a ref pointing to a <> that points + to a tree object, + a ref pointing to a tag object that points to a tag object + that points to a tree object, etc. [[def_unmerged_index]]unmerged index:: An <> which contains unmerged -- 1.8.3.1