]> git.ipfire.org Git - thirdparty/git.git/commit - upload-pack.c
upload-pack: add deepen-since to cut shallow repos based on time
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 12 Jun 2016 10:53:58 +0000 (17:53 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Jun 2016 21:38:16 +0000 (14:38 -0700)
commit569e554be9cb88047d9f2752750e0c260241f446
tree30c3bf731e2d0f54253c34b639f68c928927d8ed
parent3d9ff4d736475bc74ed249c579b3ad7322e22b85
upload-pack: add deepen-since to cut shallow repos based on time

This should allow the user to say "create a shallow clone containing the
work from last year" (once the client side is fixed up, of course).

In theory deepen-since and deepen (aka --depth) can be used together to
draw the shallow boundary (whether it's intersection or union is up to
discussion, but if rev-list is used, it's likely intersection). However,
because deepen goes with a custom commit walker, we can't mix the two
yet.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/pack-protocol.txt
Documentation/technical/protocol-capabilities.txt
upload-pack.c