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

2013-07-04 Thread Michael Schubert
On Wed, Jul 03, 2013 at 11:38:51AM -0700, Jonathan Nieder wrote:
 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.
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2013-07-03 Thread Johan Herland
On Wed, Jul 3, 2013 at 11:12 AM, Michael Schubert msc...@elegosoft.com wrote:
 Fix a typo (remote remote-tracking) going back to the big cleanup
 in 2010 (8b3f3f84 etc). Also, remove some more occurrences of
 tracking and remote tracking in favor of remote-tracking.

 Signed-off-by: Michael Schubert msc...@elegosoft.com

Reviewed-by: Johan Herland jo...@herland.net

-- 
Johan Herland, jo...@herland.net
www.herland.net
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2013-07-03 Thread Jonathan Nieder
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.

The rest of the patch looks good.

Thanks,
Jonathan
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2013-07-03 Thread Junio C Hamano
Jonathan Nieder jrnie...@gmail.com writes:

 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.

 The rest of the patch looks good.

Myy reading did hiccup at the same remote-tracking used as if it
were a noun, and your rewritten version reads much better.

Thanks.

--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2013-07-03 Thread Pete Wyckoff
gits...@pobox.com wrote on Wed, 03 Jul 2013 13:33 -0700:
 Jonathan Nieder jrnie...@gmail.com writes:
 
  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.
 
  The rest of the patch looks good.
 
 Myy reading did hiccup at the same remote-tracking used as if it
 were a noun, and your rewritten version reads much better.

Yes, very clear and complete rewrite; thanks.  The final
paragraph is perhaps duplicative of the first sentence, but adds
clarity, so I'm happy as it stands.

Acked-by: Pete Wyckoff p...@padd.com

-- Pete
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html