[Intel-gfx] [PATCH 1/2] dim: use prep_pull_mail_overview for drm-intel-testing

Jani Nikula jani.nikula at intel.com
Mon Oct 2 09:45:19 UTC 2017


It's not perfect or exactly the same, but prefer fewer lines of special
casing anyway.

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

diff --git a/dim b/dim
index bfa6ef010806..866a420d4ef6 100755
--- a/dim
+++ b/dim
@@ -1615,12 +1615,8 @@ function dim_update_next_continue
 		The following changes tagged $tag_testing:
 
 		HERE
-	obj=$(git rev-parse $tag)
-	if [[ "$(git cat-file -t $obj)" == "tag" ]] ; then
-		git cat-file -p $obj | tail -n+6 >> $req_file
-	else
-		echo "*** CHANGELOG OVERVIEW HERE ***" >> $req_file
-	fi
+
+	prep_pull_mail_overview "$tag" >> $req_file
 	prep_pull_mail_signature >> $req_file
 
 	$DRY $DIM_MUA -s "Updated drm-intel-testing" \
-- 
2.11.0



More information about the Intel-gfx mailing list