From: Michael Fischer <michael@visv.net>
To: git@vger.kernel.org
Cc: Michael Fischer <michael@visv.net>,
ryan@michonline.com, gitster@pobox.com
Subject: [PATCH] request-pull: Show the information for the terminating commit id if passed
Date: Wed, 1 Sep 2010 15:59:17 -0400 [thread overview]
Message-ID: <20100901195917.GA29593@blinkenlights.visv.net> (raw)
This makes it somewhat easier for a developer to know at what commit
his/her *next* pull request might start.
Signed-off-by: Michael Fischer <michael@visv.net>
---
git-request-pull.sh | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/git-request-pull.sh b/git-request-pull.sh
index 6fdea39..a13eeda 100755
--- a/git-request-pull.sh
+++ b/git-request-pull.sh
@@ -70,7 +70,17 @@ git show -s --format='The following changes since commit %H:
%s (%ci)
-are available in the git repository at:' $baserev &&
+' $baserev
+
+if [ -z "$3" ]; then
+git show -s --format='and up to commit %H:
+
+ %s (%ci)
+
+' $headrev
+fi
+
+echo "are available in the git repository at:" &&
echo " $url $branch" &&
echo &&
Michael
--
Michael Fischer
michael@visv.net
reply other threads:[~2010-09-01 20:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100901195917.GA29593@blinkenlights.visv.net \
--to=michael@visv.net \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=ryan@michonline.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).