Re: [PATCH v2 08/14] ls-remote doc: fix example invocation on git.git
Ramkumar Ramachandra <artagnon@gmail.com> writes:
Show 5 quoted lines
> 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.
These last two lines are better be in the documentation, no?
Show 18 quoted lines
>
> Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
> ---
> 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