ls-remote doc: fix example invocation on git.git
authorRamkumar Ramachandra <artagnon@gmail.com>
Sat, 22 Jun 2013 07:58:15 +0000 (13:28 +0530)
committerJunio C Hamano <gitster@pobox.com>
Sun, 23 Jun 2013 07:33:58 +0000 (00:33 -0700)
Under the EXAMPLES section, there is one invocation on the git.git
repository that attempts to list the refs master, pu, and rc. The ref
rc does not exist in today's repository, so remove it. Among other
things, this example demonstrates that the "<refs>..." argument is
simply a filter; requesting a non-existent ref is not an error.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-ls-remote.txt
index 774de5e9d9fc2d4d88e4f820be177ea6c0a09360..cce4f93546ebd8456464887a0c44a7f6a9a44f64 100644 (file)
@@ -70,7 +70,6 @@ EXAMPLES
        $ git ls-remote http://www.kernel.org/pub/scm/git/git.git master pu rc
        5fe978a5381f1fbad26a80e682ddd2a401966740        refs/heads/master
        c781a84b5204fb294c9ccc79f8b3baceeb32c061        refs/heads/pu
-       b1d096f2926c4e37c9c0b6a7bf2119bedaa277cb        refs/heads/rc
        $ echo http://www.kernel.org/pub/scm/git/git.git >.git/branches/public
        $ git ls-remote --tags public v\*
        d6602ec5194c87b0fc87103ca4d67251c76f233a        refs/tags/v0.99