Re: [PATCH 1/3] refs: call branches branches
On Mon, Jun 3, 2024 at 4:05 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
> These things in refs/heads/ hierarchy are called "branches" in human
> parlance. Replace REF_HEADS with REF_BRANCHES to make it clearer.
>
> No end-user visible change intended at this step.
>
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
> ---
> diff --git a/builtin/ls-remote.c b/builtin/ls-remote.c
> @@ -9,7 +9,7 @@
> static const char * const ls_remote_usage[] = {
> - N_("git ls-remote [--heads] [--tags] [--refs] [--upload-pack=<exec>]\n"
> + N_("git ls-remote [--branches] [--tags] [--refs] [--upload-pack=<exec>]\n"
> " [-q | --quiet] [--exit-code] [--get-url] [--sort=<key>]\n"
> " [--symref] [<repository> [<patterns>...]]"),
> NULLThis change belongs in patch [2/3], doesn't it, not [1/3]?