[PATCH v4 2/3] user-manual: Use request-pull to generate "please pull" text
- From
W. Trevor King <wking@tremily.us>
- Date
- Feb 19, 2013, 10:05 UTC
- Message-ID
- <ad7727d728227c788007ad1f6f19d37c75835f97.1361267945.git.wking@tremily.us>
- In-Reply-To
- <cover.1361267945.git.wking@tremily.us>
From: "W. Trevor King" <wking@tremily.us>
Less work and more error checking (e.g. does a merge base exist?). Add an explicit push before request-pull to satisfy request-pull, which checks to make sure the references are publically available.
Signed-off-by: W. Trevor King <wking@tremily.us> --- Documentation/user-manual.txt | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt index a4dbd9e..3aab106 100644 --- a/Documentation/user-manual.txt +++ b/Documentation/user-manual.txt @@ -2305,17 +2305,13 @@ branch and then merge into each of the test and release branches. For 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: +After pushing your work to `mytree`, you can use +linkgit:git-request-pull[1] to prepare a "please pull" request message +to send to Linus: ------------------------------------------------- -$ git diff --stat origin..release -------------------------------------------------- - -and - -------------------------------------------------- -$ git log -p origin..release | git shortlog +$ git push mytree +$ git request-pull origin mytree release ------------------------------------------------- Here are some of the scripts that simplify all this even further.
-- 1.8.1.336.g94702dd