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

1 messages from 2007-02-05 to 2007-02-05. Participants: Andy Parkins.
Thread: https://gitlist.dev/t/6696

## Andy Parkins, 2007-02-05 19:58

Subject: [PATCH] git-for-each-ref doesn't return "the bit after $GIT_DIR/refs"
Message-ID: <200702051958.47237.andyparkins@gmail.com>
URL: https://gitlist.dev/e/200702051958.47237.andyparkins%40gmail.com

```
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>
---
 Documentation/git-for-each-ref.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/git-for-each-ref.txt b/Documentation/git-for-each-ref.txt
index da52eba..f49b0d9 100644
--- a/Documentation/git-for-each-ref.txt
+++ b/Documentation/git-for-each-ref.txt
@@ -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`).
-- 
1.5.0.rc1.gf4b6c

```
