diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-03-09 14:20:39 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-03-09 14:20:39 -0800 |
commit | 31f4da593b6d41e7c5f496542ffeca776c3fc223 (patch) | |
tree | de5abcc652700308bba62e6f19493ba8d0d4ec05 /Documentation | |
parent | f7c6c426ca193773c6a9879d33a3d6f7d835bc8d (diff) | |
parent | 681186ae3ab340dd684b1d9e09b457baeb2331f9 (diff) | |
download | git-31f4da593b6d41e7c5f496542ffeca776c3fc223.tar.gz git-31f4da593b6d41e7c5f496542ffeca776c3fc223.tar.xz |
Merge branch 'maint'
* maint:
Fix typo in t/README
ls-remote documentation: <refs> argument is optional
Add Author and Documentation sections to git-for-each-ref.txt
Documentation: remove redundant colons in git-for-each-ref.txt
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-for-each-ref.txt | 18 | ||||
-rw-r--r-- | Documentation/git-ls-remote.txt | 2 |
2 files changed, 16 insertions, 4 deletions
diff --git a/Documentation/git-for-each-ref.txt b/Documentation/git-for-each-ref.txt index fac1cf55e..152e695c8 100644 --- a/Documentation/git-for-each-ref.txt +++ b/Documentation/git-for-each-ref.txt @@ -123,7 +123,7 @@ EXAMPLES -------- An example directly producing formatted text. Show the most recent -3 tagged commits:: +3 tagged commits: ------------ #!/bin/sh @@ -140,7 +140,7 @@ Ref: %(*refname) A simple example showing the use of shell eval on the output, -demonstrating the use of --shell. List the prefixes of all heads:: +demonstrating the use of --shell. List the prefixes of all heads: ------------ #!/bin/sh @@ -154,7 +154,7 @@ done A bit more elaborate report on tags, demonstrating that the format -may be an entire script:: +may be an entire script: ------------ #!/bin/sh @@ -204,3 +204,15 @@ eval=`git for-each-ref --shell --format="$fmt" \ refs/tags` eval "$eval" ------------ + +Author +------ +Written by Junio C Hamano <gitster@pobox.com>. + +Documentation +------------- +Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>. + +GIT +--- +Part of the linkgit:git[1] suite diff --git a/Documentation/git-ls-remote.txt b/Documentation/git-ls-remote.txt index abe7bf9ff..342276582 100644 --- a/Documentation/git-ls-remote.txt +++ b/Documentation/git-ls-remote.txt @@ -10,7 +10,7 @@ SYNOPSIS -------- [verse] 'git ls-remote' [--heads] [--tags] [-u <exec> | --upload-pack <exec>] - <repository> <refs>... + <repository> [<refs>...] DESCRIPTION ----------- |