summaryrefslogtreecommitdiffstats
path: root/git-for-each-ref.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2006-10-28 21:29:01 +0000
committerJunio C Hamano <junio@hera.kernel.org>2006-10-28 21:29:01 +0000
commit4de43af97f60b56bb38a3b55da6fbae78b536b58 (patch)
treeab94ed6cffbf5ceeb023d625ff75b8a914452d26 /git-for-each-ref.txt
parenta053d54fabc1d177125a3c62a267ca75f2cda80b (diff)
downloadgit-htmldocs-4de43af97f60b56bb38a3b55da6fbae78b536b58.tar.gz
Autogenerated HTML docs for v1.4.3.3-g15160
Diffstat (limited to 'git-for-each-ref.txt')
-rw-r--r--git-for-each-ref.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/git-for-each-ref.txt b/git-for-each-ref.txt
index d5fdcef8d..2bf6aef73 100644
--- a/git-for-each-ref.txt
+++ b/git-for-each-ref.txt
@@ -7,14 +7,14 @@ git-for-each-ref - Output information on each ref
SYNOPSIS
--------
-'git-for-each-ref' [--count=<count>]* [--shell|--perl|--python] [--sort=<key>]* [--format=<format>] [<pattern>]
+'git-for-each-ref' [--count=<count>]\* [--shell|--perl|--python] [--sort=<key>]\* [--format=<format>] [<pattern>]
DESCRIPTION
-----------
Iterate over all refs that match `<pattern>` and show them
according to the given `<format>`, after sorting them according
-to the given set of `<key>`s. If `<max>` is given, stop after
+to the given set of `<key>`. If `<max>` is given, stop after
showing that many refs. The interporated values in `<format>`
can optionally be quoted as string literals in the specified
host language allowing their direct evaluation in that language.
@@ -38,7 +38,11 @@ OPTIONS
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
- `%(refname)`.
+ `%(objectname) SPC %(objecttype) TAB %(refname)`.
+ It also interpolates `%%` to `%`, and `%xx` where `xx`
+ are hex digits interpolates to character with hex code
+ `xx`; for example `%00` interpolates to `\0` (NUL),
+ `%09` to `\t` (TAB) and `%0a` to `\n` (LF).
<pattern>::
If given, the name of the ref is matched against this