git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] request-pull: Show the information for the terminating commit id if passed

From
MFMichael Fischer <michael@visv.net>
Date
Sep 1, 2010, 19:59 UTC
Message-ID
<20100901195917.GA29593@blinkenlights.visv.net>

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
Message 1 of 1 in “request-pull: Show the information for the terminating commit id if passed”
  1. request-pull: Show the information for the terminating commit id if passedMichael Fischer, Sep 1, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.