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

Re: [PATCH] Change "remote tracking" to "remote-tracking"

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jul 3, 2013, 18:38 UTC
Message-ID
<20130703183851.GR408@google.com>
In-Reply-To
<1372842754-13366-1-git-send-email-mschub@elegosoft.com>
Michael Schubert wrote:
Show 10 quoted lines
> --- a/Documentation/git-p4.txt
> +++ b/Documentation/git-p4.txt
> @@ -180,7 +180,7 @@ subsequent 'sync' operations.
>  	Import changes into given branch.  If the branch starts with
>  	'refs/', it will be used as is.  Otherwise if it does not start
>  	with 'p4/', that prefix is added.  The branch is assumed to
> -	name a remote tracking, but this can be modified using
> +	name a remote-tracking, but this can be modified using
>  	'--import-local', or by giving a full ref name.  The default
>  	branch is 'master'.

This is confusing both before and after the patch. What is "a remote tracking"?

Perhaps:
	--branch <ref>::
		Import changes into <ref> instead of refs/remotes/p4/master.
		If <ref> starts with refs/, it is used as is.  Otherwise, if
		it does not start with p4/, that prefix is added.
	+
	By default a <ref> not starting with refs/ is treated as the
	name of a remote-tracking branch (under refs/remotes/).  This
	behavior can be modified using the --import-local option.
	+
	The default <ref> is "master".
The rest of the patch looks good.

Thanks, Jonathan

Previous: Johan HerlandNext: Junio C Hamano
Message 3 of 6 in “Change "remote tracking" to "remote-tracking"”
  1. Change "remote tracking" to "remote-tracking"Michael Schubert, Jul 3, 2013
  2. Johan HerlandJul 3, 2013
  3. Jonathan NiederJul 3, 2013
  4. Junio C HamanoJul 3, 2013
  5. Pete WyckoffJul 3, 2013
  6. Michael SchubertJul 4, 2013

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.