git-fetch can use both --thin and --keep with fetch-pack now
Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Nicolas Pitre committed
Nov 1, 2006 at 17:06 UTC
920ccbfc3bedd384f3073c342c64fbd028a4ee3a
1 file changed
+2
-2
git-fetch.sh
+2
-2
@@ -20,7 +20,7 @@ verbose=
20
update_head_ok=
21
exec=
22
upload_pack=
23
-keep=--thin
23
+keep=
24
while case "$#" in 0) break ;; esac
25
do
26
case "$1" in
@@ -370,7 +370,7 @@ fetch_main () {
370
( : subshell because we muck with IFS
371
IFS=" $LF"
372
(
373
- git-fetch-pack $exec $keep "$remote" $rref || echo failed "$remote"
373
+ git-fetch-pack --thin $exec $keep "$remote" $rref || echo failed "$remote"
374
) |
375
while read sha1 remote_name
376
do