Jonathan Tan <jonathanta...@google.com> writes:
> Our only definition (currently) for the "partial" fetch boundary is
> whether an object in a promisor packfile (a packfile obtained from the
> promisor remote) references it, so I think that checking for crossing a
> &
ectivity check
> altogether. Does "git fetch" lack sufficient information to attempt
> the connectivity check, and when (and only when) it hits a broken
> link, see if that is because the connectivity check traversal is
> crossing a "partial" fetch boundary, or something
when) it hits a broken
link, see if that is because the connectivity check traversal is
crossing a "partial" fetch boundary, or something along that line?
>
> Signed-off-by: Jonathan Tan <jonathanta...@google.com>
> ---
> fetch-pack.c | 13 +++--
When doing a partial clone or fetch with transfer.fsckobjects=1, use the
--fsck-objects instead of the --strict flag when invoking index-pack so
that links are not checked, only objects. This is because incomplete
links are expected when doing a partial clone or fetch.
Signed-off-by: Jonathan Tan
On 2/12/2018 11:24 AM, Basin Ilya wrote:
Hi.
In 2017 a set of patches titled "add object filtering for partial fetch" was
accepted. Is it what I think it is? Will we be able to download only a subdirectory from a
large project?
yes, that is the goal.
there are several caveat
Hi.
In 2017 a set of patches titled "add object filtering for partial fetch" was
accepted. Is it what I think it is? Will we be able to download only a
subdirectory from a
large project?
From: Jeff Hostetler <jeffh...@microsoft.com>
Add test to t5616 to bulk fetch missing objects following
a partial fetch. A technique like this could be used in
a pre-command hook for example.
Signed-off-by: Jeff Hostetler <jeffh...@microsoft.com>
---
t/t5616-partial-c
From: Jeff Hostetler <jeffh...@microsoft.com>
Teach fetch to use the list-objects filtering parameters
to allow a "partial fetch" following a "partial clone".
Signed-off-by: Jeff Hostetler <jeffh...@microsoft.com>
---
builtin/fetch.c | 20 +++
From: Jeff Hostetler <jeffh...@microsoft.com>
Teach fetch to use the list-objects filtering parameters
to allow a "partial fetch" following a "partial clone".
Signed-off-by: Jeff Hostetler <jeffh...@microsoft.com>
---
builtin/fetch.c | 20 +++
fetches
+* for each remote and one of them MAY INHERIT the proper
+* partial-fetch settings, so everything is consistent.
+*/
+ die(_("partial-fetch is not supported on multiple remotes"));
+ }
+
if (!append &
* We currently only support partial-fetches to the remote
> + * used for the partial-clone because we only support 1
> + * promisor remote, so we DO NOT allow explicit command
> + * line filter arguments.
> + *
> +
From: Jeff Hostetler <jeffh...@microsoft.com>
Teach fetch to use the list-objects filtering parameters
to allow a "partial fetch" following a "partial clone".
Signed-off-by: Jeff Hostetler <jeffh...@microsoft.c
2016-11-29 23:55 GMT+02:00 Jeff King :
> On Mon, Nov 28, 2016 at 10:34:51PM +0200, Dāvis Mosāns wrote:
>
>> I'm trying to fetch a remote repository over https but sadly it
>> timeouts too soon.
>>
>> $ git fetch -v upstream
>> POST git-upload-pack (gzip 1148 to 641 bytes)
>> POST
On Mon, Nov 28, 2016 at 10:34:51PM +0200, Dāvis Mosāns wrote:
> I'm trying to fetch a remote repository over https but sadly it
> timeouts too soon.
>
> $ git fetch -v upstream
> POST git-upload-pack (gzip 1148 to 641 bytes)
> POST git-upload-pack (gzip 1148 to 644 bytes)
> [...]
> Is there some
I'm trying to fetch a remote repository over https but sadly it
timeouts too soon.
$ git fetch -v upstream
POST git-upload-pack (gzip 1148 to 641 bytes)
POST git-upload-pack (gzip 1148 to 644 bytes)
POST git-upload-pack (gzip 1948 to 1038 bytes)
POST git-upload-pack (gzip 3548 to 1845 bytes)
POST
15 matches
Mail list logo