summary refs log tree commit diff
path: root/fetch-pack.h
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2008-03-03 22:27:33 -0500
committerJunio C Hamano <gitster@pobox.com>2008-03-04 23:28:14 -0800
commit348e390b17e7a2b0618fbbfe8cdefa3d73ecbea2 (patch)
treee87eb0c168cf3f37127bbb4fa6bdc68df98ae57c /fetch-pack.h
parentf0a24aa56e49a5cb03101ead0211c7080b96c9f1 (diff)
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>
Diffstat (limited to 'fetch-pack.h')
-rw-r--r--fetch-pack.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fetch-pack.h b/fetch-pack.h
index 8d35ef60bf..8bd9c32561 100644
--- a/fetch-pack.h
+++ b/fetch-pack.h
@@ -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,