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
This commit is contained in:
parent
0cbcb9fa9a
commit
26d4d38eb2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user