Thread (1 message) 1 message, 1 author, 2020-05-13

Re: [PATCH] fetch: allow adding a filter after initial clone.

From: Junio C Hamano <hidden>
Date: 2020-05-13 22:07:13

Xin Li [off-list ref] writes:
The proposed change would allow converting an existing git clone to
use partial clones.  For example:

$ git clone --depth=1 https://android.googlesource.com/platform/bionic .
$ git fetch --unshallow --filter=blob:none origin

Previously, to allow this one would have to do the following manually
first; the existing code would handle the rest gracefully:

$ git config core.repositoryFormatVersion 1
$ git config extensions.partialClone origin

And the proposed change would have git do it for the user
automatically, the existing workflow remains otherwise unchanged.
Please do not explain these things to the list readers.  Instead,
remember to write them in the proposed log message when you are
ready to send an updated patch, which you would probably want to
wait before giving other people to comment on the patch.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help