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
1 changed files with 5 additions and 1 deletions

View File

@ -93,7 +93,11 @@ for file in $files; do
if [[ -z "$file_list" ]]; then
file_list="$filename"
else
file_list="$file_list, $filename"
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"
fi
fi
done
# Cleanup temporary tempest repo