Re: [PATCH v2 12/15] user-manual: Use request-pull to generate please pull text

2013-02-10 Thread Junio C Hamano
W. Trevor King wk...@tremily.us writes:

 From: W. Trevor King wk...@tremily.us

 Less work and more error checking (e.g. does a merge base exist?).

 Signed-off-by: W. Trevor King wk...@tremily.us
 ---
  Documentation/user-manual.txt | 11 ---
  1 file changed, 4 insertions(+), 7 deletions(-)

 diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
 index 31054a2..6446791 100644
 --- a/Documentation/user-manual.txt
 +++ b/Documentation/user-manual.txt
 @@ -2298,17 +2298,14 @@ these changes, just apply directly to the `release` 
 branch, and then
  merge that into the `test` branch.
  
  To create diffstat and shortlog summaries of changes to include in a please
 -pull request to Linus you can use:
 +pull request to Linus you can use linkgit:git-request-pull[1]:
  
  -
 -$ git diff --stat origin..release
 +$ git request-pull origin git://example.com/proj.git release
  -
  
 -and
 -
 --
 -$ git log -p origin..release | git shortlog
 --
 +where the `git://` URL points to your public-repositories,public
 +repository.
  
  Here are some of the scripts that simplify all this even further.

The request-pull checks a lot more than does a merge base exist?,
no?  Does the examples in this flow push out what you want to be
pulled _before_ running this step?
--
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 v2 12/15] user-manual: Use request-pull to generate please pull text

2013-02-10 Thread W. Trevor King
On Sun, Feb 10, 2013 at 02:23:48PM -0800, Junio C Hamano wrote:
 The request-pull checks a lot more than does a merge base exist?,
 no?

It does, but the man page doesn't list the checks, and I didn't want
to read through the source to find them all ;).  Maybe I should, and
then update the man page :p.

 Does the examples in this flow push out what you want to be
 pulled _before_ running this step?

Err, yes.  And I should have used `mytree` unstead of the explicit
URL.  Maybe I should have an explicit push just before the
`request-pull` for extra clarity.

-- 
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy


signature.asc
Description: OpenPGP digital signature