Re: [PATCH v3 25/36] doc txt & -h consistency: use "git foo" form, not "git-foo"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ævar Arnfjörð Bjarmason  <avarab@xxxxxxxxx> writes:

> Use the "git cmd" form instead of "git-cmd" for both "git
> receive-pack" and "git credential-cache--daemon".
>
> Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx>
> ---
>  Documentation/git-receive-pack.txt | 2 +-
>  builtin/credential-cache--daemon.c | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/git-receive-pack.txt b/Documentation/git-receive-pack.txt
> index eec1268b10f..92452334ac4 100644
> --- a/Documentation/git-receive-pack.txt
> +++ b/Documentation/git-receive-pack.txt
> @@ -9,7 +9,7 @@ git-receive-pack - Receive what is pushed into the repository
>  SYNOPSIS
>  --------
>  [verse]
> -'git-receive-pack' <git-dir>
> +'git receive-pack' <git-dir>

I think this, together with git-upload-pack, was very much
intentional, at least when it was written, because it is the way we
invoked the command on the other side of the connection that goes
over the wire.  I suspect git-upload-archive falls into the same
category, even though it seems to lack the dash there.

> diff --git a/builtin/credential-cache--daemon.c b/builtin/credential-cache--daemon.c

This one is reasonable, on the other hand.  That is how
credential-cache.c::spawn_daemon() runs it.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux