From: Junio C Hamano Date: Sun, 23 Jun 2013 07:22:51 GMT Subject: Re: [PATCH v2 08/14] ls-remote doc: fix example invocation on git.git Message-ID: <7vy5a1guk4.fsf@alter.siamese.dyndns.org> In-Reply-To: <1371887901-5659-9-git-send-email-artagnon@gmail.com> Ramkumar Ramachandra writes: > 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 "..." argument is > simply a filter; requesting a non-existent ref is not an error. These last two lines are better be in the documentation, no? > > Signed-off-by: Ramkumar Ramachandra > --- > Documentation/git-ls-remote.txt | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/Documentation/git-ls-remote.txt b/Documentation/git-ls-remote.txt > index 774de5e..cce4f93 100644 > --- a/Documentation/git-ls-remote.txt > +++ b/Documentation/git-ls-remote.txt > @@ -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