Code

git-for-each-ref doesn't return "the bit after $GIT_DIR/refs"
authorAndy Parkins <andyparkins@gmail.com>
Mon, 5 Feb 2007 19:58:47 +0000 (19:58 +0000)
committerJunio C Hamano <junkio@cox.net>
Mon, 5 Feb 2007 21:48:59 +0000 (13:48 -0800)
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>
Documentation/git-for-each-ref.txt

index da52eba7b3619667537c1df3c58a927010f1c8ab..f49b0d944c613a9d5f4a6c5b6713d5c556f0390e 100644 (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`).