From: Shawn O. Pearce Date: Mon, 02 Nov 2009 15:43:50 GMT Subject: Re: [PATCH] Update packfile transfer protocol documentation Message-ID: <20091102154350.GS10505@spearce.org> In-Reply-To: Scott Chacon wrote: > I've incorporated the comments from Shawn (except for the 'annotated > tag' comment > in the 'include-tag' section of the capabilities doc, which I didn't > understand). ... > +include-tag > +----------- > + > +The 'include-tag' capability is about sending tags if we are sending > +objects they point to. If we pack an object to the client, and a tag > +points exactly at that object, we pack the tag too. In general this > +allows a client to get all new tags when it fetches a branch, in a > +single network connection. There are two types of tags, annotated and lightweight, right? To avoid confusion here we should make it clear we only send annotated tag objects when this feature is enabled. The protocol doesn't have provisions to send SHA-1 to ref mapping inside of a pack stream, so lightweight tags cannot be sent. -- Shawn.