diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2018-06-07 13:53:36 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-13 18:57:09 +0200 |
commit | 30aa96cdf8dc8d93865cbb26f3692a87cb065f86 (patch) | |
tree | ce7f8095797c26a4e84b5613223938c0036fad82 /builtin/pull.c | |
parent | Git 2.16.4 (diff) | |
download | git-30aa96cdf8dc8d93865cbb26f3692a87cb065f86.tar.xz git-30aa96cdf8dc8d93865cbb26f3692a87cb065f86.zip |
Use hyphenated "remote-tracking branch" (docs and comments)
Use the obvious consensus of hyphenated "remote-tracking branch", and
fix an obvious typo, all in documentation and comments.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/pull.c')
-rw-r--r-- | builtin/pull.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/pull.c b/builtin/pull.c index 511dbbe0f6..f02009c389 100644 --- a/builtin/pull.c +++ b/builtin/pull.c @@ -666,7 +666,7 @@ static const char *get_upstream_branch(const char *remote) } /** - * Derives the remote tracking branch from the remote and refspec. + * Derives the remote-tracking branch from the remote and refspec. * * FIXME: The current implementation assumes the default mapping of * refs/heads/<branch_name> to refs/remotes/<remote_name>/<branch_name>. @@ -704,7 +704,7 @@ static const char *get_tracking_branch(const char *remote, const char *refspec) /** * Given the repo and refspecs, sets fork_point to the point at which the - * current branch forked from its remote tracking branch. Returns 0 on success, + * current branch forked from its remote-tracking branch. Returns 0 on success, * -1 on failure. */ static int get_rebase_fork_point(struct object_id *fork_point, const char *repo, |