aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2020-10-21 00:40:55 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2020-10-21 00:48:04 +0200
commit88c42335247f713c13a0fceb97f6f49fc03c7013 (patch)
treef5b0e3a066bcaa3dfa950fcdbe9217d4666271d2
parentb61c05c820eb4f2b5b55d7a0f60b895e53d9b861 (diff)
downloadpw-88c42335247f713c13a0fceb97f6f49fc03c7013.tar.gz
pw: slighly tweak pull req template in pw-pull
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
-rwxr-xr-xpw-pull2
1 files changed, 1 insertions, 1 deletions
diff --git a/pw-pull b/pw-pull
index 653fa76..cfb1bcf 100755
--- a/pw-pull
+++ b/pw-pull
@@ -46,7 +46,7 @@ file="pr-$tree-$today.patch"
git request-pull $since ${remote[1]} > $file
what=$(cat $file | grep "files changed")
-echo -e "Subject: pull-request: $tree $today\n\nHi David,\n\nThe following pull-request contains BPF updates for your *${remote[0]}* tree.\n\nWe've added $count non-merge commits during the last $delta day(s) which contain\na total of$what.\n\nThe main changes are:\n\n1) ..., from XYZ. Among others:\n\n - Blah blah sub item.\n\n2) ..., from ABC.\n\nPlease consider pulling these changes from:\n\n git://git.kernel.org/pub/scm/linux/kernel/git/bpf/$tree.git\n\nThanks a lot!\n\nAlso thanks to reporters, reviewers and testers of commits in this pull-request:\n\n$thanks\n\n----------------------------------------------------------------\n\n$(cat $file)" > $file
+echo -e "Subject: pull-request: $tree $today\n\nHi David, hi Jakub,\n\nThe following pull-request contains BPF updates for your *${remote[0]}* tree.\n\nWe've added $count non-merge commits during the last $delta day(s) which contain\na total of$what.\n\nThe main changes are:\n\n1) ..., from XYZ. Among others:\n\n - Blah blah sub item.\n\n2) ..., from ABC.\n\nPlease consider pulling these changes from:\n\n git://git.kernel.org/pub/scm/linux/kernel/git/bpf/$tree.git\n\nThanks a lot!\n\nAlso thanks to reporters, reviewers and testers of commits in this pull-request:\n\n$thanks\n\n----------------------------------------------------------------\n\n$(cat $file)" > $file
bug=$(grep -c gitolite $file)
if [ "$bug" -gt "0" ]; then
echo "PR not generated: using gitolite url, not public one!"