summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Documentation/git-for-each-ref.txt4
-rw-r--r--Documentation/git.txt3
2 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/git-for-each-ref.txt b/Documentation/git-for-each-ref.txt
index 4af1ebf5dd..2bf6aef735 100644
--- a/Documentation/git-for-each-ref.txt
+++ b/Documentation/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.
diff --git a/Documentation/git.txt b/Documentation/git.txt
index b00607ee1b..595cca1efd 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -160,6 +160,9 @@ gitlink:git-diff-stages[1]::
gitlink:git-diff-tree[1]::
Compares the content and mode of blobs found via two tree objects.
+gitlink:git-for-each-ref[1]::
+ Output information on each ref.
+
gitlink:git-fsck-objects[1]::
Verifies the connectivity and validity of the objects in the database.