From 26d4d38eb28d092d6a9141be9892b7aff0788611 Mon Sep 17 00:00:00 2001 From: Reedip Banerjee Date: Wed, 14 Oct 2015 10:01:07 +0530 Subject: [PATCH] Fix the length of auto-generated commit Currently, the first line of the commit message generated by migrate_from_tempest.sh is more than 72 characters, which is the limiting value. This patch enforces that git-message-rule. Change-Id: I6108c9a1602b8daa04a94f97d219ff4fb4a43371 --- tools/migrate_from_tempest.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/migrate_from_tempest.sh b/tools/migrate_from_tempest.sh index 09a7aeb..d956e2f 100755 --- a/tools/migrate_from_tempest.sh +++ b/tools/migrate_from_tempest.sh @@ -101,7 +101,8 @@ rm -rf $tmpdir # Generate a migration commit commit_message="Migrated $file_list from tempest" -pre_list=$"This migrates the above files from tempest. This includes tempest commits:" +pre_list=$"This migrates the above files from tempest.\nThis includes tempest commits:" +pre_list=`echo -e $pre_list` post_list=$"to see the commit history for these files refer to the above Change-Ids \nin the tempest repository." post_list=`echo -e $post_list` if [ $service_client -eq 1 ]; then