[coreboot-gerrit] New patch to review for coreboot: e365564 util/board_status/board_status.sh: Only create a shallow clone

Paul Menzel (paulepanter@users.sourceforge.net) gerrit at coreboot.org
Sun Feb 9 10:28:59 CET 2014


Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5173

-gerrit

commit e36556413a96e5f703e0f39005ea9e0c2337da35
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date:   Sun Feb 9 10:26:39 2014 +0100

    util/board_status/board_status.sh: Only create a shallow clone
    
    Pass `--depth 1` to the command `git clone` when cloning the
    board_status repository as the history is not needed. This saves a
    little time and space.
    
    Change-Id: Ib998e4bf0abd2f348f54dbe0377a0c386248ba5a
    Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
 util/board_status/board_status.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index 3cff231..aa72b97 100755
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -187,7 +187,7 @@ if [ $UPLOAD_RESULTS -eq 1 ]; then
 		# FIXME: the board-status directory might get big over time.
 		# Is there a way we can push the results without fetching the
 		# whole repo?
-		git clone "ssh://${username}@review.coreboot.org:29418/board-status"
+		git clone --depth 1 "ssh://${username}@review.coreboot.org:29418/board-status"
 		if [ $? -ne 0 ]; then
 			"Error cloning board-status repo, aborting."
 			exit $EXIT_FAILURE



More information about the coreboot-gerrit mailing list