Skip to content

Commit 57f6ec0

Browse files
salty-horsegitster
authored andcommitted
Change mentions of "git programs" to "git commands"
Most of the docs and printouts refer to "commands" when discussing what the end users call via the "git" top-level program. We should refer them as "git programs" when we discuss the fact that the commands are implemented as separate programs, but in other contexts, it is better to use the term "git commands" consistently. Signed-off-by: Ori Avtalion <[email protected]> Signed-off-by: Nanako Shiraishi <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 22f1fb6 commit 57f6ec0

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

Documentation/config.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ color.interactive.<slot>::
604604
Use customized color for 'git-add --interactive'
605605
output. `<slot>` may be `prompt`, `header`, `help` or `error`, for
606606
four distinct types of normal output from interactive
607-
programs. The values of these variables may be specified as
607+
commands. The values of these variables may be specified as
608608
in color.branch.<slot>.
609609

610610
color.pager::
@@ -1100,7 +1100,7 @@ instaweb.port::
11001100
linkgit:git-instaweb[1].
11011101

11021102
interactive.singlekey::
1103-
In interactive programs, allow the user to provide one-letter
1103+
In interactive commands, allow the user to provide one-letter
11041104
input with a single key (i.e., without hitting enter).
11051105
Currently this is used only by the `\--patch` mode of
11061106
linkgit:git-add[1]. Note that this setting is silently

Documentation/fetch-options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-q::
22
--quiet::
33
Pass --quiet to git-fetch-pack and silence any other internally
4-
used programs.
4+
used git commands.
55

66
-v::
77
--verbose::

Documentation/git-rev-list.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ between the two operands. The following two commands are equivalent:
8383
$ git rev-list A...B
8484
-----------------------------------------------------------------------
8585

86-
'git-rev-list' is a very essential git program, since it
86+
'rev-list' is a very essential git command, since it
8787
provides the ability to build and traverse commit ancestry graphs. For
8888
this reason, it has a lot of different options that enables it to be
8989
used by commands as different as 'git-bisect' and

Documentation/git.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ Synching repositories
315315

316316
include::cmds-synchingrepositories.txt[]
317317

318-
The following are helper programs used by the above; end users
318+
The following are helper commands used by the above; end users
319319
typically do not use them directly.
320320

321321
include::cmds-synchelpers.txt[]

Documentation/gitattributes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ Performing a three-way merge
404404

405405
The attribute `merge` affects how three versions of a file is
406406
merged when a file-level merge is necessary during `git merge`,
407-
and other programs such as `git revert` and `git cherry-pick`.
407+
and other commands such as `git revert` and `git cherry-pick`.
408408

409409
Set::
410410

Documentation/gitcore-tutorial.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ git *
1212
DESCRIPTION
1313
-----------
1414

15-
This tutorial explains how to use the "core" git programs to set up and
15+
This tutorial explains how to use the "core" git commands to set up and
1616
work with a git repository.
1717

1818
If you just need to use git as a revision control system you may prefer
@@ -1328,7 +1328,7 @@ into it later. Obviously, this repository creation needs to be
13281328
done only once.
13291329

13301330
[NOTE]
1331-
'git-push' uses a pair of programs,
1331+
'git-push' uses a pair of commands,
13321332
'git-send-pack' on your local machine, and 'git-receive-pack'
13331333
on the remote machine. The communication between the two over
13341334
the network internally uses an SSH connection.

Documentation/user-manual.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4131,7 +4131,7 @@ What does this mean?
41314131

41324132
`git rev-list` is the original version of the revision walker, which
41334133
_always_ printed a list of revisions to stdout. It is still functional,
4134-
and needs to, since most new Git programs start out as scripts using
4134+
and needs to, since most new Git commands start out as scripts using
41354135
`git rev-list`.
41364136

41374137
`git rev-parse` is not as important any more; it was only used to filter out

help.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ const char *help_unknown_cmd(const char *cmd)
334334
const char *assumed = main_cmds.names[0]->name;
335335
main_cmds.names[0] = NULL;
336336
clean_cmdnames(&main_cmds);
337-
fprintf(stderr, "WARNING: You called a Git program named '%s', "
337+
fprintf(stderr, "WARNING: You called a Git command named '%s', "
338338
"which does not exist.\n"
339339
"Continuing under the assumption that you meant '%s'\n",
340340
cmd, assumed);

0 commit comments

Comments
 (0)