Re: [PATCH v3 27/28] clone: use git protocol for cloning shallow repo locally

2013-11-26 Thread Eric Sunshine
On Sun, Nov 24, 2013 at 10:55 PM, Nguyễn Thái Ngọc Duy wrote: > clone_local() does not handle $SRC/shallow. It could be made so, but > it's simpler to use fetch-pack/upload-pack instead. > > This used by be caught by the check in upload-pack, which is triggered s/used by/used to/ > by transport_

[PATCH v3 27/28] clone: use git protocol for cloning shallow repo locally

2013-11-24 Thread Nguyễn Thái Ngọc Duy
clone_local() does not handle $SRC/shallow. It could be made so, but it's simpler to use fetch-pack/upload-pack instead. This used by be caught by the check in upload-pack, which is triggered by transport_get_remote_refs(), even in local clone case. The check is now gone and check_everything_conne