From: Nicolas Pitre Date: Wed, 1 Nov 2006 22:06:22 +0000 (-0500) Subject: git-fetch can use both --thin and --keep with fetch-pack now X-Git-Tag: v1.4.4-rc1~5^2~3 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=920ccbfc3bedd384f3073c342c64fbd028a4ee3a;p=git-core%2Fgit.git git-fetch can use both --thin and --keep with fetch-pack now Signed-off-by: Nicolas Pitre Signed-off-by: Junio C Hamano --- diff --git a/git-fetch.sh b/git-fetch.sh index 539dff6ee..2b5538f17 100755 --- a/git-fetch.sh +++ b/git-fetch.sh @@ -20,7 +20,7 @@ verbose= update_head_ok= exec= upload_pack= -keep=--thin +keep= while case "$#" in 0) break ;; esac do case "$1" in @@ -370,7 +370,7 @@ fetch_main () { ( : subshell because we muck with IFS IFS=" $LF" ( - git-fetch-pack $exec $keep "$remote" $rref || echo failed "$remote" + git-fetch-pack --thin $exec $keep "$remote" $rref || echo failed "$remote" ) | while read sha1 remote_name do