Skip to contentSkip to conversation

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

PATCH New Andy Parkins 1 participant 1 message Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 Documentation/git-for-each-ref.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/git-for-each-ref.txt +1 -1
index da52eba..f49b0d9 100644
@@ -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`).
Signature · 1 line
1.5.0.rc1.gf4b6c