[Intel-gfx] [maintainer-tools PATCH 2/5] dim: use git format-patch style for *** REMINDERS ***

Jani Nikula jani.nikula at intel.com
Fri Sep 8 13:29:58 UTC 2017


git format-patch adds *** SUBJECT HERE *** and similar to remind about
things that need to be filled in. Follow suit.

Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 dim | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/dim b/dim
index 6d889bd6a04d..248d12f3a8a4 100755
--- a/dim
+++ b/dim
@@ -887,9 +887,7 @@ function dim_backmerge
 	cat > $patch_file <<-HERE
 		Merge $upstream into $branch
 
-		<Explain here why you've done the backmerge, e.g. which patches
-		 or which driver pull request you need to be able to merge
-		 \$feature_work from \$author.>
+		*** DETAILED BACKMERGE RATIONALE HERE ***
 
 		HERE
 
@@ -1426,7 +1424,7 @@ function prep_pull_mail_overview
 	local obj
 
 	if [ "$#" = "0" ]; then
-		echo "*** insert pull request overview here ***"
+		echo "*** PULL REQUEST OVERVIEW HERE ***"
 	else
 		for tag in "$@"; do
 			obj=$(git rev-parse $tag)
@@ -1566,7 +1564,7 @@ function dim_update_next_continue
 	if [[ "$(git cat-file -t $obj)" == "tag" ]] ; then
 		git cat-file -p $obj | tail -n+6 >> $req_file
 	else
-		echo "<tag doesn't contain a changelog overview, fix this>" >> $req_file
+		echo "*** CHANGELOG OVERVIEW HERE ***" >> $req_file
 	fi
 	cat >> $req_file <<-HERE
 
-- 
2.11.0



More information about the Intel-gfx mailing list