Avoid code reviews for minor translation changes.
If the only changes are the creation date or comments, don't send a review. Resolves bug 1095183. Change-Id: Idbc3f313d32b60563f4eff5fd97784a25fb8c428 Reviewed-on: https://review.openstack.org/18803 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Jeremy Stanley <fungi@yuggoth.org> Approved: James E. Blair <corvus@inaugust.com> Reviewed-by: James E. Blair <corvus@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
e61a7e90c8
commit
f2c16538bf
@ -43,7 +43,9 @@ fi
|
||||
# Add all changed files to git
|
||||
git add $PROJECT/locale/*
|
||||
|
||||
if [ ! `git diff-index --quiet HEAD --` ]
|
||||
# Don't send a review if the only things which have changed are the creation
|
||||
# date or comments.
|
||||
if [ `git diff --cached | egrep -v "(POT-Creation-Date|^[\+\-]#|^\+{3}|^\-{3})" | egrep -c "^[\-\+]"` -gt 0 ]
|
||||
then
|
||||
# Commit and review
|
||||
git commit -F- <<EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user