UPSTREAM: board_status: Use explicit branch name in "git push"

In some configurations, "git push <remote>" (without a branch name)
refuses to do anything.

Change-Id: I23a401b39dd851e9723676586c7f29afa111b49d
Original-Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Original-Reviewed-on: https://review.coreboot.org/14539
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Original-Reviewed-by: David Hendricks <dhendrix@chromium.org>
(cherry-picked from commit 478c889847)
Signed-off-by: Martin Roth <martinroth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/346464
Reviewed-by: Stefan Reinauer <reinauer@google.com>
Commit-Queue: Stefan Reinauer <reinauer@google.com>
Tested-by: Stefan Reinauer <reinauer@google.com>
This commit is contained in:
Jonathan Neuschäfer 2016-05-10 17:43:53 +02:00 committed by ChromeOS Commit Bot
commit 2b3ab0767d

View file

@ -383,7 +383,7 @@ if [ $UPLOAD_RESULTS -eq 1 ]; then
git add "${vendor}"
git commit -a -m "${mainboard_dir}/${tagged_version}/${timestamp}"
count=0
until git push origin || test $count -eq 3; do
until git push origin master || test $count -eq 3; do
git pull --rebase
count=$((count + 1))
done