Fix config updater to specify branch

Specify the branch on git-review.

Change-Id: I7006bb28b6aacff2ded0d1ae160586e4ca094b4d
This commit is contained in:
Brant Knudson 2015-07-23 14:49:09 -05:00 committed by Andreas Jaeger
parent 92e9656a30
commit 0c99d1a70c

View File

@ -64,7 +64,7 @@ if ! git diff --stat --exit-code HEAD ; then
git commit $git_args <<EOF
$COMMIT_MSG
EOF
OUTPUT=$(git review -t $TOPIC)
OUTPUT=$(git review -t $TOPIC $BRANCH)
RET=$?
[[ "$RET" -eq "0" || "$OUTPUT" =~ "no new changes" || "$OUTPUT" =~ "no changes made" ]]
SUCCESS=$?