From 1d2734b04347b3492bf4937407010d40e153793e Mon Sep 17 00:00:00 2001 From: popcornmix Date: Mon, 7 Jan 2013 19:37:08 +0000 Subject: [PATCH] Use -depth=1 on git fetch to speed updates up --- rpi-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpi-update b/rpi-update index eec740f..e46281d 100755 --- a/rpi-update +++ b/rpi-update @@ -133,7 +133,7 @@ function download_repo { function update_repo { echo " *** Updating firmware (this may take a few minutes)" - eval ${GITCMD} fetch + eval ${GITCMD} fetch --depth=1 RETVAL=$? if [[ ${RETVAL} -ne 0 ]]; then echo " !!! Failed to download updated firmware files"