Idwer Vollering has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/49311 )
Change subject: util/board_status/board_status.sh: absorb and inject user identification from the top-level git directory ......................................................................
util/board_status/board_status.sh: absorb and inject user identification from the top-level git directory
Signed-off-by: Idwer Vollering vidwer@gmail.com Change-Id: I385f10bffc797db691be1a9109af5336bc8601e3 --- M util/board_status/board_status.sh 1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/11/49311/1
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh index 76ff594..d75454d 100755 --- a/util/board_status/board_status.sh +++ b/util/board_status/board_status.sh @@ -507,6 +507,10 @@ # extract username from ssh://<username>@review.coreboot.org/blah bsrepo=$(git config --get remote.origin.url | sed "s,(.*)/coreboot,\1/board-status,")
+ # absorb parts of git configuration from the top-level directory + git_email="$(git config -f .git/config user.email)" + git_username="$(git config -f .git/config user.name)" + cd "util/board_status/" if [ ! -e "board-status" ]; then # FIXME: the board-status directory might get big over time. @@ -521,6 +525,10 @@
cd "board-status"
+ # inject the absorbed git identification in board-status/.git/config + git config -f .git/config user.email "${git_email}" + git config -f .git/config user.name "${git_username}" + echo "Checking for duplicate results" # get any updates to board-status git pull