Permalink
Browse files

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

  • Loading branch information...
1 parent 31292f7 commit 1d2734b04347b3492bf4937407010d40e153793e @popcornmix popcornmix committed Jan 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 rpi-update
View
2 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"

0 comments on commit 1d2734b

Please sign in to comment.