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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 24, 2013 at 10:55 PM, Nguyễn Thái Ngọc Duy
<pclouds@xxxxxxxxx> 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_get_remote_refs(), even in local clone case. The check is
> now gone and check_everything_connected() should catch the result
> incomplete repo. But check_everything_connected() will soon be skipped
> in local clone case, opening a door to corrupt repo. This patch should
> close that door.
>
> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]