{"thread":{"id":"24942","subject":"[PATCH] request-pull: Show the information for the terminating commit id if passed","startedAt":"2010-09-01T19:59:17Z","lastAt":"2010-09-01T19:59:17Z","messageCount":1,"participants":["Michael Fischer"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"149588","messageId":"20100901195917.GA29593@blinkenlights.visv.net","threadId":"24942","inReplyTo":null,"subject":"[PATCH] request-pull: Show the information for the terminating commit id if passed","fromName":"Michael Fischer","fromEmail":"michael@visv.net","sentAt":"2010-09-01T19:59:17Z","receivedAt":"2010-09-01T19:59:17Z","isPatch":true,"sender":{"key":"michael@visv.net","avatar":null},"body":"This makes it somewhat easier for a developer to know at what commit\nhis/her *next* pull request might start.\n\nSigned-off-by: Michael Fischer <michael@visv.net>\n---\n git-request-pull.sh |   12 +++++++++++-\n 1 files changed, 11 insertions(+), 1 deletions(-)\n\ndiff --git a/git-request-pull.sh b/git-request-pull.sh\nindex 6fdea39..a13eeda 100755\n--- a/git-request-pull.sh\n+++ b/git-request-pull.sh\n@@ -70,7 +70,17 @@ git show -s --format='The following changes since commit %H:\n \n   %s (%ci)\n \n-are available in the git repository at:' $baserev &&\n+' $baserev\n+\n+if [ -z \"$3\" ]; then\n+git show -s --format='and up to commit %H:\n+\n+  %s (%ci)\n+\n+' $headrev\n+fi\n+\n+echo \"are available in the git repository at:\" &&\n echo \"  $url $branch\" &&\n echo &&\n \n\n\nMichael\n-- \nMichael Fischer\nmichael@visv.net\n"}]}