git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Change mentions of "git programs" to "git commands"

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 8, 2009, 16:12 UTC
Message-ID
<7v8whul1x5.fsf@alter.siamese.dyndns.org>
In-Reply-To
<4A7D7CF2.40902@avtalion.name>
Ori Avtalion <ori@avtalion.name> writes:
Show 24 quoted lines
> 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.
>
> If that doesn't fit,...

My comment on this part was not "Don't change this wording, the original is much better", but was primarily "you said this commit is about replacing 'program' with 'command' for consistency, but this change does not belong to that category. Either make a separate commit for this change separate from all the rest, or change the wording of the commit log message to cover this one as well".

Show 14 quoted lines
>    "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.
> ...
> 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.

This was "because you are changing the exact sentence anyway, why not do this while you are at it". But you are probably right. We try to write "git foo" when we talk about what users would type, but say "git-foo" when we talk about the command itself. When we talk about the concept of what the command achieves, we sometimes say just "foo".

Show 9 quoted lines
> 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.

That may be an option and I kind of like it; but I'd rather hear from others first.

Previous: Ori AvtalionNext: Nanako Shiraishi
Message 5 of 11 in “Change mentions of "git programs" to "git commands"”
  1. Change mentions of "git programs" to "git commands"Ori Avtalion, Aug 7, 2009
  2. Junio C HamanoAug 7, 2009
  3. Erik Faye-LundAug 8, 2009
  4. Ori AvtalionAug 8, 2009
  5. Junio C HamanoAug 8, 2009
  6. Change mentions of "git programs" to "git commands"Nanako Shiraishi, Aug 11, 2009
  7. Ori AvtalionAug 11, 2009
  8. Nanako ShiraishiAug 11, 2009
  9. Ori AvtalionAug 11, 2009
  10. Ori AvtalionAug 13, 2009
  11. Junio C HamanoAug 12, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.