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