summaryrefslogtreecommitdiff
path: root/fetch-pack.h
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2008-03-04 03:27:33 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-03-05 07:28:14 (GMT)
commit348e390b17e7a2b0618fbbfe8cdefa3d73ecbea2 (patch)
treee87eb0c168cf3f37127bbb4fa6bdc68df98ae57c /fetch-pack.h
parentf0a24aa56e49a5cb03101ead0211c7080b96c9f1 (diff)
downloadgit-348e390b17e7a2b0618fbbfe8cdefa3d73ecbea2.zip
git-348e390b17e7a2b0618fbbfe8cdefa3d73ecbea2.tar.gz
git-348e390b17e7a2b0618fbbfe8cdefa3d73ecbea2.tar.bz2
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 8d35ef6..8bd9c32 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,