From: Ori Avtalion <ori@avtalion.name>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Change mentions of "git programs" to "git commands"
Date: Sat, 08 Aug 2009 16:26:10 +0300 [thread overview]
Message-ID: <4A7D7CF2.40902@avtalion.name> (raw)
In-Reply-To: <7v4osj1odt.fsf@alter.siamese.dyndns.org>
On 08/07/2009 09:15 PM, Junio C Hamano wrote:
> Ori Avtalion<ori@avtalion.name> writes:
>
>> Most of the docs and printouts refer to "commands".
>> This patch changes the other terminology to be consistent.
>
> Thanks, but not really.
>
>> diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt
>> index d313795..20bf512 100644
>> --- a/Documentation/fetch-options.txt
>> +++ b/Documentation/fetch-options.txt
>> @@ -1,7 +1,7 @@
>> -q::
>> --quiet::
>> Pass --quiet to git-fetch-pack and silence any other internally
>> - used programs.
>> + used utilities.
>
> This does not have much to do with what you claim to have done in the
> commit log message nor the title. Probably "utilities" is a slightly
> better word than "programs" in this context but not by a wide margin.
>
I picked the word from the glossary definition of "core git":
"Fundamental data structures and utilities of git. [...]"
If that doesn't fit, how about:
"Pass --quiet to git-fetch-pack and silence other output" ?
>> -'git-rev-list' is a very essential git program, since it
>> +'git-rev-list' is a very essential git command, since it
>> provides the ability to build and traverse commit ancestry graphs. For
>> this reason, it has a lot of different options that enables it to be
>> used by commands as different as 'git-bisect' and
>
> Ok, but probably we would want to say "git rev-list" here.
In that case, shouldn't all of the manpages be changed to say "git foo"
instead of "git-foo" under the NAME section?
I see the "git-foo" notation as a convention for git commands.
It may be for historical reasons, but the manpage for the "pull" git
command is "git-pull", and that is how commands are mentioned all over
the documentation.
>
>> --exec-path::
>> - Path to wherever your core git programs are installed.
>> + Path to wherever your core git commands are installed.
>
> I do not think this is a good change.
>
> When you talk about git "command", e.g. "'git rev-list' is an essential
> command", you are talking about an abstract concept. In the reader's
> world view, there is one single toplevel program called "git" and it has
> various commands, one of which is 'rev-list'. But this description is not
> about an abstract concept of command, but is about a particular
> implementation detail. For every git command, there is a corresponding
> git _program_ that implements that command, and --exec-path tells you (or
> you use --exec-path to tell the git toplevel program) where they are.
>
> You kept this intact in gitcore-tutorial:
>
> ... Also
> you need to make sure that you have the 'git-receive-pack'
> program on the `$PATH`.
>
> and I think you did the right thing. This is about a concrete instance of
> a program. If you really really want to say _command_, you would probably
> want to do something like this instead:
>
> --exec-path::
> - Path to wherever your core git programs are installed.
> + Path to the directory that holds programs that implements git commands.
>
I agree with the suggestion.
I found a few other instances that should probably be changed.
In git.txt:
"The following are helper programs used by the above"
^^^^^^^^
commands
In git-mailsplit.txt (and cmds-purehelpers.txt):
"Simple UNIX mbox splitter program."
Maybe the word "program" should just be dropped.
I'll submit a new patch once there's an agreement on the changes.
-Ori
next prev parent reply other threads:[~2009-08-08 13:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-07 14:24 [PATCH] Change mentions of "git programs" to "git commands" Ori Avtalion
2009-08-07 18:15 ` Junio C Hamano
2009-08-08 12:12 ` Erik Faye-Lund
2009-08-08 13:26 ` Ori Avtalion [this message]
2009-08-08 16:12 ` Junio C Hamano
2009-08-11 3:58 ` Nanako Shiraishi
2009-08-11 11:49 ` Ori Avtalion
2009-08-11 22:59 ` Nanako Shiraishi
2009-08-11 23:29 ` Ori Avtalion
2009-08-13 12:02 ` Ori Avtalion
2009-08-12 22:39 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A7D7CF2.40902@avtalion.name \
--to=ori@avtalion.name \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).