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=]* [--shell|--perl|--python] [--sort=]* [--format=] [] +'git-for-each-ref' [--count=]\* [--shell|--perl|--python] [--sort=]\* [--format=] [] DESCRIPTION ----------- Iterate over all refs that match `` and show them according to the given ``, after sorting them according -to the given set of ``s. If `` is given, stop after +to the given set of ``. If `` is given, stop after showing that many refs. The interporated values in `` 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.