glossary: define commit-ish (a.k.a. committish)
authorRichard Hansen <rhansen@bbn.com>
Wed, 4 Sep 2013 19:04:29 +0000 (15:04 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Sep 2013 22:02:35 +0000 (15:02 -0700)
Signed-off-by: Richard Hansen <rhansen@bbn.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/glossary-content.txt
index 0273095eb481266e3df36e022ccb2389cb09a007..47e901ece8b19288cd4eb8ca3a5dcfeecb25691a 100644 (file)
@@ -82,6 +82,18 @@ to point at the new commit.
        to the top <<def_directory,directory>> of the stored
        revision.
 
+[[def_commit-ish]]commit-ish (also committish)::
+       A <<def_commit_object,commit object>> or an
+       <<def_object,object>> that can be recursively dereferenced to
+       a commit object.
+       The following are all commit-ishes:
+       a commit object,
+       a <<def_tag_object,tag object>> that points to a commit
+       object,
+       a tag object that points to a tag object that points to a
+       commit object,
+       etc.
+
 [[def_core_git]]core Git::
        Fundamental data structures and utilities of Git. Exposes only limited
        source code management tools.