summaryrefslogtreecommitdiffstats
path: root/git-for-each-ref.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-08-23 14:56:43 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-23 14:56:43 -0700
commita4ff729866ec6f1eb3dc876e34a797b3b686dc5b (patch)
treeea1497b0544f71d26db3ef3875442796ca05066c /git-for-each-ref.txt
parent4b2a6c149b267a1120f1444a0951af13d7b36d69 (diff)
downloadgit-htmldocs-a4ff729866ec6f1eb3dc876e34a797b3b686dc5b.tar.gz
Autogenerated HTML docs for v2.14.1-310-g39566
Diffstat (limited to 'git-for-each-ref.txt')
-rw-r--r--git-for-each-ref.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/git-for-each-ref.txt b/git-for-each-ref.txt
index cc42c1283..bb370c9c7 100644
--- a/git-for-each-ref.txt
+++ b/git-for-each-ref.txt
@@ -38,11 +38,12 @@ OPTIONS
key.
<format>::
- A string that interpolates `%(fieldname)` from the
- object pointed at by a ref being shown. If `fieldname`
+ A string that interpolates `%(fieldname)` from a ref being shown
+ and the object it points at. If `fieldname`
is prefixed with an asterisk (`*`) and the ref points
- at a tag object, the value for the field in the object
- tag refers is used. When unspecified, defaults to
+ at a tag object, use the value for the field in the object
+ which the tag object refers to (instead of the field in the tag object).
+ When unspecified, `<format>` defaults to
`%(objectname) SPC %(objecttype) TAB %(refname)`.
It also interpolates `%%` to `%`, and `%xx` where `xx`
are hex digits interpolates to character with hex code