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

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

From
MSMichael Schubert <mschub@elegosoft.com>
Date
Jul 4, 2013, 09:05 UTC
Message-ID
<20130704090511.GA5317@pc>
In-Reply-To
<20130703183851.GR408@google.com>
On Wed, Jul 03, 2013 at 11:38:51AM -0700, Jonathan Nieder wrote:
Show 28 quoted lines
> Michael Schubert wrote:
> 
> > --- 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".
Thanks.
Previous: Pete Wyckoff
Message 6 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.