upload-pack: support define shallow boundary by excluding revisions
commit269a7a831636b7c7a453f6621fc8b440ff28a408
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 12 Jun 2016 10:54:03 +0000 (12 17:54 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Jun 2016 21:38:16 +0000 (13 14:38 -0700)
treeefd18451a34631a8ace26f748b4094bff21fbad0
parent41da7111f2c825ee0dcd319ec246a84b5ca0fd21
upload-pack: support define shallow boundary by excluding revisions

This should allow the user to say "create a shallow clone of this branch
after version <some-tag>".

Short refs are accepted and expanded at the server side with expand_ref()
because we cannot expand (unknown) refs from the client side.

Like deepen-since, deepen-not cannot be used with deepen. But deepen-not
can be mixed with deepen-since. The result is exactly how you do the
command "git rev-list --since=... --not ref".

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