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>
This commit is contained in:
Shawn O. Pearce
2008-03-03 22:27:33 -05:00
committed by Junio C Hamano
parent f0a24aa56e
commit 348e390b17
4 changed files with 24 additions and 6 deletions

View File

@ -12,7 +12,8 @@ struct fetch_pack_args
use_thin_pack:1,
fetch_all:1,
verbose:1,
no_progress:1;
no_progress:1,
include_tag:1;
};
struct ref *fetch_pack(struct fetch_pack_args *args,