git-for-each-ref doesn't return "the bit after $GIT_DIR/refs"

The documentation for git-for-each-ref said that the refname variable
would return "the part after $GIT_DIR/refs/", which isn't true.

Signed-off-by: Andy Parkins <andyparkins@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Andy Parkins 2007-02-05 19:58:47 +00:00 committed by Junio C Hamano
parent 133f081057
commit 69057cf39f
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ keys.
For all objects, the following names can be used:

refname::
The name of the ref (the part after $GIT_DIR/refs/).
The name of the ref (the part after $GIT_DIR/).

objecttype::
The type of the object (`blob`, `tree`, `commit`, `tag`).