зеркало из https://github.com/microsoft/git.git
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>
This commit is contained in:
Родитель
133f081057
Коммит
69057cf39f
|
@ -66,7 +66,7 @@ keys.
|
||||||
For all objects, the following names can be used:
|
For all objects, the following names can be used:
|
||||||
|
|
||||||
refname::
|
refname::
|
||||||
The name of the ref (the part after $GIT_DIR/refs/).
|
The name of the ref (the part after $GIT_DIR/).
|
||||||
|
|
||||||
objecttype::
|
objecttype::
|
||||||
The type of the object (`blob`, `tree`, `commit`, `tag`).
|
The type of the object (`blob`, `tree`, `commit`, `tag`).
|
||||||
|
|
Загрузка…
Ссылка в новой задаче