Make git log messsage to shorter

git log title must be shorter than 50 chars, and git log body text
should be shorter than 72 chars.
This patch fixes this issue on generated comment.

Change-Id: I2b35b627e32e5891fa0db0aa8c9fce664adb5e50
This commit is contained in:
OTSUKA, Yuanying
2015-09-25 14:44:14 +09:00
parent 002d2bdd29
commit 6c63f35615

View File

@@ -93,8 +93,12 @@ for file in $files; do
if [[ -z "$file_list" ]]; then if [[ -z "$file_list" ]]; then
file_list="$filename" file_list="$filename"
else else
tmp_file_list="$file_list, $filename"
char_size=`echo $tmp_file_list | wc -c`
if [ "$char_size" -lt 27 ]; then
file_list="$file_list, $filename" file_list="$file_list, $filename"
fi fi
fi
done done
# Cleanup temporary tempest repo # Cleanup temporary tempest repo
rm -rf $tmpdir rm -rf $tmpdir