Use thin pack transfer in "git fetch".
[gitweb.git] / git-fetch.sh
index b4325d9d98589bf7823174318b431197d6b896c6..23d965f327b5a4276f9e4fc1ba3daa8c4313fb4d 100755 (executable)
@@ -320,7 +320,7 @@ fetch_main () {
     ( : subshell because we muck with IFS
       IFS="    $LF"
       (
-         git-fetch-pack $exec $keep "$remote" $rref || echo failed "$remote"
+         git-fetch-pack $exec $keep --thin "$remote" $rref || echo failed "$remote"
       ) |
       while read sha1 remote_name
       do