From 10cd12dc73095490eed659d283833a6b6051d93e Mon Sep 17 00:00:00 2001
From: Joel Stanley <joel@jms.id.au>
Date: Thu, 13 Dec 2018 10:17:32 +1030
Subject: [PATCH] git-request-pull: Put tags on the next line

When creating pull request emails, the URL is often long enough to cause
the tags/for_linus part to wrap. Maintainers then attempt to cut/paste
this line from the email, and end up missing the tag.

This changes the format from:

  git://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed.git tags/aspeed-4.20-devicetree

to:

  git://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed.git \
    tags/aspeed-4.20-devicetree

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 git-request-pull.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/git-request-pull.sh b/git-request-pull.sh
index 13c172bd94fc..f736dae1f6f1 100755
--- a/git-request-pull.sh
+++ b/git-request-pull.sh
@@ -130,7 +130,8 @@ git show -s --format='The following changes since commit %H:
 
 are available in the Git repository at:
 ' $merge_base &&
-echo "  $url $pretty_remote" &&
+echo "  $url \ "
+echo "    $pretty_remote" &&
 git show -s --format='
 for you to fetch changes up to %H:
 
-- 
2.19.1

