summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f032d66)
raw | patch | inline | side by side (parent: f032d66)
author | Junio C Hamano <gitster@pobox.com> | |
Wed, 11 Jan 2012 05:45:52 +0000 (21:45 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 11 Jan 2012 05:51:15 +0000 (21:51 -0800) |
The command takes the "start" argument and computes the merge base
between it and the commit to be pulled so that we can show the diffstat,
but uses the "start" argument as-is when composing the message
The following changes since commit $X are available
to tell the integrator which commit the work is based on. Giving "origin"
(most of the time it resolves to refs/remotes/origin/master) as the start
argument is often convenient, but it is usually not the fork point, and
does not help the integrator at all.
Use the real fork point, which is the merge base we already compute, when
composing that part of the message.
Suggested-by: Linus Torvalds
Signed-off-by: Junio C Hamano <gitster@pobox.com>
between it and the commit to be pulled so that we can show the diffstat,
but uses the "start" argument as-is when composing the message
The following changes since commit $X are available
to tell the integrator which commit the work is based on. Giving "origin"
(most of the time it resolves to refs/remotes/origin/master) as the start
argument is often convenient, but it is usually not the fork point, and
does not help the integrator at all.
Use the real fork point, which is the merge base we already compute, when
composing that part of the message.
Suggested-by: Linus Torvalds
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-request-pull.sh | patch | blob | history |
diff --git a/git-request-pull.sh b/git-request-pull.sh
index d7ba1178ae75019aba44f78d6cabd775a84ad526..64960d65a1c2bf3c260c8fd46c4b298ae870679f 100755 (executable)
--- a/git-request-pull.sh
+++ b/git-request-pull.sh
%s (%ci)
are available in the git repository at:
-' $baserev &&
+' $merge_base &&
echo " $url${ref+ $ref}" &&
git show -s --format='
for you to fetch changes up to %H: