threads / patch / 6696

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

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

## tl;dr

One message between Feb 5, 2007 and Feb 5, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Andy Parkins· Feb 5, 2007, 19:58 UTC · lore

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(-)
Show changes to Documentation/git-for-each-ref.txt +1 −1
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

← back to recent threads