Skip to content

Commit

Permalink
glossary: update description of head and ref
Browse files Browse the repository at this point in the history
Reword them to avoid sounding as if loose refs are the only ones in the world.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
gitster committed Jun 23, 2011
1 parent 487b044 commit deaef1e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Documentation/glossary-content.txt
Expand Up @@ -161,8 +161,8 @@ to point at the new commit.

[[def_head]]head::
A <<def_ref,named reference>> to the <<def_commit,commit>> at the tip of a
<<def_branch,branch>>. Heads are stored in
`$GIT_DIR/refs/heads/`, except when using packed refs. (See
<<def_branch,branch>>. Heads are stored in a file in
`$GIT_DIR/refs/heads/` directory, except when using packed refs. (See
linkgit:git-pack-refs[1].)

[[def_HEAD]]HEAD::
Expand Down Expand Up @@ -350,8 +350,9 @@ including Documentation/chapter_1/figure_1.jpg.

[[def_ref]]ref::
A 40-byte hex representation of a <<def_SHA1,SHA1>> or a name that
denotes a particular <<def_object,object>>. These may be stored in
`$GIT_DIR/refs/`.
denotes a particular <<def_object,object>>. They may be stored in
a file under `$GIT_DIR/refs/` directory, or
in the `$GIT_DIR/packed-refs` file.

[[def_reflog]]reflog::
A reflog shows the local "history" of a ref. In other words,
Expand Down

0 comments on commit deaef1e

Please sign in to comment.