Skip to content

Commit 0e615b2

Browse files
moygitster
authored andcommitted
Replace "remote tracking" with "remote-tracking"
"remote-tracking" branch makes it explicit that the branch is "tracking a remote", as opposed to "remote, and tracking something". See discussion in e.g. http://mid.gmane.org/8835ADF9-45E5-4A26-9F7F-A72ECC065BB2@gmail.com for more details. This patch is a straightforward application of perl -pi -e 's/remote tracking branch/remote-tracking branch/' except in the RelNotes directory. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 8009d83 commit 0e615b2

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed

Documentation/config.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ color.diff.<slot>::
708708
color.decorate.<slot>::
709709
Use customized color for 'git log --decorate' output. `<slot>` is one
710710
of `branch`, `remoteBranch`, `tag`, `stash` or `HEAD` for local
711-
branches, remote tracking branches, tags, stash and HEAD, respectively.
711+
branches, remote-tracking branches, tags, stash and HEAD, respectively.
712712

713713
color.grep::
714714
When set to `always`, always highlight matches. When `false` (or

Documentation/fetch-options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ifndef::git-pull[]
3636

3737
-p::
3838
--prune::
39-
After fetching, remove any remote tracking branches which
39+
After fetching, remove any remote-tracking branches which
4040
no longer exist on the remote.
4141
endif::git-pull[]
4242

Documentation/git-log.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ git log --follow builtin-rev-list.c::
116116
git log --branches --not --remotes=origin::
117117

118118
Shows all commits that are in any of local branches but not in
119-
any of remote tracking branches for 'origin' (what you have that
119+
any of remote-tracking branches for 'origin' (what you have that
120120
origin doesn't).
121121

122122
git log master --not --remotes=*/master::

Documentation/git-pull.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ With `--rebase`, it runs 'git rebase' instead of 'git merge'.
2626
<repository> should be the name of a remote repository as
2727
passed to linkgit:git-fetch[1]. <refspec> can name an
2828
arbitrary remote ref (for example, the name of a tag) or even
29-
a collection of refs with corresponding remote tracking branches
29+
a collection of refs with corresponding remote-tracking branches
3030
(e.g., refs/heads/*:refs/remotes/origin/*), but usually it is
3131
the name of a branch in the remote repository.
3232

Documentation/git-remote.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ was passed.
7575

7676
'rename'::
7777

78-
Rename the remote named <old> to <new>. All remote tracking branches and
78+
Rename the remote named <old> to <new>. All remote-tracking branches and
7979
configuration settings for the remote are updated.
8080
+
8181
In case <old> and <new> are the same, and <old> is a file under
@@ -84,7 +84,7 @@ the configuration file format.
8484

8585
'rm'::
8686

87-
Remove the remote named <name>. All remote tracking branches and
87+
Remove the remote named <name>. All remote-tracking branches and
8888
configuration settings for the remote are removed.
8989

9090
'set-head'::

Documentation/gittutorial.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ alice$ git fetch bob
385385

386386
Unlike the longhand form, when Alice fetches from Bob using a
387387
remote repository shorthand set up with 'git remote', what was
388-
fetched is stored in a remote tracking branch, in this case
388+
fetched is stored in a remote-tracking branch, in this case
389389
`bob/master`. So after this:
390390

391391
-------------------------------------

Documentation/rev-list-options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ endif::git-rev-list[]
264264

265265
Pretend as if all the refs in `refs/remotes` are listed
266266
on the command line as '<commit>'. If '<pattern>' is given, limit
267-
remote tracking branches to ones matching given shell glob.
267+
remote-tracking branches to ones matching given shell glob.
268268
If pattern lacks '?', '*', or '[', '/*' at the end is implied.
269269

270270
--glob=<glob-pattern>::

Documentation/user-manual.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1700,7 +1700,7 @@ may wish to check the original repository for updates and merge them
17001700
into your own work.
17011701

17021702
We have already seen <<Updating-a-repository-With-git-fetch,how to
1703-
keep remote tracking branches up to date>> with linkgit:git-fetch[1],
1703+
keep remote-tracking branches up to date>> with linkgit:git-fetch[1],
17041704
and how to merge two branches. So you can merge in changes from the
17051705
original repository's master branch with:
17061706

builtin/checkout.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ int cmd_checkout(int argc, const char **argv, const char *prefix)
786786
* With no paths, if <something> is _not_ a commit, no -t nor -b
787787
* was given, and there is a tracking branch whose name is
788788
* <something> in one and only one remote, then this is a short-hand
789-
* to fork local <something> from that remote tracking branch.
789+
* to fork local <something> from that remote-tracking branch.
790790
*
791791
* Otherwise <something> shall not be ambiguous.
792792
* - If it's *only* a reference, treat it like case (1).

t/t5513-fetch-track.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
test_description='fetch follows remote tracking branches correctly'
3+
test_description='fetch follows remote-tracking branches correctly'
44

55
. ./test-lib.sh
66

0 commit comments

Comments
 (0)