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>
This commit is contained in:

committed by
Junio C Hamano

parent
fc04c412d8
commit
920ccbfc3b
@ -20,7 +20,7 @@ verbose=
|
|||||||
update_head_ok=
|
update_head_ok=
|
||||||
exec=
|
exec=
|
||||||
upload_pack=
|
upload_pack=
|
||||||
keep=--thin
|
keep=
|
||||||
while case "$#" in 0) break ;; esac
|
while case "$#" in 0) break ;; esac
|
||||||
do
|
do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
@ -370,7 +370,7 @@ fetch_main () {
|
|||||||
( : subshell because we muck with IFS
|
( : subshell because we muck with IFS
|
||||||
IFS=" $LF"
|
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
|
while read sha1 remote_name
|
||||||
do
|
do
|
||||||
|
Reference in New Issue
Block a user