git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] request-pull: Show the information for the terminating commit id if passed
@ 2010-09-01 19:59 Michael Fischer
  0 siblings, 0 replies; only message in thread
From: Michael Fischer @ 2010-09-01 19:59 UTC (permalink / raw)
  To: git; +Cc: Michael Fischer, ryan, gitster

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-01 20:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-01 19:59 [PATCH] request-pull: Show the information for the terminating commit id if passed Michael Fischer

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).