From: "Shawn O. Pearce" <spearce@spearce.org>
To: Junio C Hamano <gitster@pobox.com>,
Daniel Barkalow <barkalow@iabervon.org>
Cc: git@vger.kernel.org
Subject: [PATCH v2 0/3] Server side automatic tag following
Date: Mon, 3 Mar 2008 22:26:48 -0500 [thread overview]
Message-ID: <20080304032648.GP8410@spearce.org> (raw)
This series replaces my prior one from this evening based on
Nico's suggestion to use "--auto-include-tag" as the option name.
Its effectively the same series, but every commit is different due
to the change in option name and protocol extension.
For those new to the series, it avoids the second connection
needed to download new annotated tags. Instead the server side
automatically sends the tag if the client signals it would do
automated tag following. This lightens the load on the server
and on the client as its one less connection required to per
client requesting updates.
1) git-pack-objects: Automatically pack annotated tags if object was packed
2) Teach fetch-pack/upload-pack about --auto-include-tag
3) Teach git-fetch to exploit server side automatic tag following
Documentation/git-fetch-pack.txt | 8 +++-
Documentation/git-pack-objects.txt | 5 ++
builtin-fetch-pack.c | 9 +++-
builtin-fetch.c | 3 +
builtin-pack-objects.c | 24 +++++++++-
fetch-pack.h | 3 +-
t/t5305-auto-include-tag.sh | 84 ++++++++++++++++++++++++++++++++++++
t/t5503-tagfollow.sh | 26 +++++++++++
transport.c | 5 ++
transport.h | 3 +
upload-pack.c | 10 +++-
11 files changed, 172 insertions(+), 8 deletions(-)
--
Shawn.
reply other threads:[~2008-03-04 3:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080304032648.GP8410@spearce.org \
--to=spearce@spearce.org \
--cc=barkalow@iabervon.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.