Stefan Reinauer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/75779?usp=email )
Change subject: Switch board_status.sh to use main branch ......................................................................
Switch board_status.sh to use main branch
... so we can switch coreboot over.
Change-Id: Ib0487014fd49829e0d021533b04df9e8bd1a757a Signed-off-by: Stefan Reinauer stefan.reinauer@coreboot.org --- M util/board_status/board_status.sh M util/board_status/getrevision.sh 2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/79/75779/1
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh index 78f21a80..da19940 100755 --- a/util/board_status/board_status.sh +++ b/util/board_status/board_status.sh @@ -553,7 +553,7 @@ git add "${vendor}" git commit -a -m "${mainboard_dir}/${tagged_version}/${timestamp}" count=0 - until git push origin master || test $count -eq 3; do + until git push origin main || test $count -eq 3; do git pull --rebase count=$((count + 1)) done diff --git a/util/board_status/getrevision.sh b/util/board_status/getrevision.sh index 041f6f2..ced20fc 100755 --- a/util/board_status/getrevision.sh +++ b/util/board_status/getrevision.sh @@ -123,7 +123,7 @@ upstream_revision() { local r=
- r=$(git log remotes/origin/master -1 --format=format:%h) + r=$(git log remotes/origin/main -1 --format=format:%h)
if [ -z "$r" ]; then r="unknown" # default to unknown