Code

Teach fetch-pack/upload-pack about --include-tag
authorShawn O. Pearce <spearce@spearce.org>
Tue, 4 Mar 2008 03:27:33 +0000 (22:27 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Mar 2008 07:28:14 +0000 (23:28 -0800)
commit348e390b17e7a2b0618fbbfe8cdefa3d73ecbea2
treee87eb0c168cf3f37127bbb4fa6bdc68df98ae57c
parentf0a24aa56e49a5cb03101ead0211c7080b96c9f1
Teach fetch-pack/upload-pack about --include-tag

The new protocol extension "include-tag" allows the client side
of the connection (fetch-pack) to request that the server side of the
native git protocol (upload-pack / pack-objects) use --include-tag
as it prepares the packfile, thus ensuring that an annotated tag object
will be included in the resulting packfile if the object it refers to
was also included into the packfile.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-fetch-pack.txt
builtin-fetch-pack.c
fetch-pack.h
upload-pack.c