Use -depth=1 on git fetch to speed updates up

This commit is contained in:
popcornmix
2013-01-07 19:37:08 +00:00
parent 31292f70fc
commit 1d2734b043

View File

@@ -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"