Skip to content

Commit 69057cf

Browse files
andyparkinsJunio C Hamano
authored andcommitted
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>
1 parent 133f081 commit 69057cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-for-each-ref.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ keys.
6666
For all objects, the following names can be used:
6767

6868
refname::
69-
The name of the ref (the part after $GIT_DIR/refs/).
69+
The name of the ref (the part after $GIT_DIR/).
7070

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

0 commit comments

Comments
 (0)