From: Ronnie Sahlberg <sahlberg@google.com>
To: git@vger.kernel.org
Cc: gitster@pobox.com, Ronnie Sahlberg <sahlberg@google.com>
Subject: [PATCH 0/5] use packed refs for ref-transactions
Date: Fri, 25 Jul 2014 10:55:21 -0700 [thread overview]
Message-ID: <1406310926-4080-1-git-send-email-sahlberg@google.com> (raw)
This is a small patch series that continues ontop of the
ref-transactions-rename series I posted earlier today.
This series expands the use of the packed refs file to make multi-ref
updates much more atomic. Additionally it allows us to continue pushing
external caller to use transactions instead of accessing (packed) refs
directly which allows us to remove a whole bunch of refs functions
from the public api.
After this series there is no real need any more to expose that packed
refs even exist to external callers.
This series is built ontop of the previous series that was posted earlier
today as :
[PATCH 0/5] ref-transactions-rename
Ronnie Sahlberg (5):
refs.c: move reflog updates into its own function
refs.c: write updates to packed refs when a transaction has more than
one ref
remote.c: use a transaction for deleting refs
refs.c: make repack_without_refs static
refs.c: make the *_packed_refs functions static
builtin/clone.c | 16 ++++--
builtin/remote.c | 70 +++++++++++++----------
refs.c | 153 +++++++++++++++++++++++++++++++++-----------------
refs.h | 33 -----------
t/t5516-fetch-push.sh | 2 +-
5 files changed, 153 insertions(+), 121 deletions(-)
--
2.0.1.518.g4f5a8ad
next reply other threads:[~2014-07-25 17:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-25 17:55 Ronnie Sahlberg [this message]
2014-07-25 17:55 ` [PATCH 1/5] refs.c: move reflog updates into its own function Ronnie Sahlberg
2014-07-25 17:55 ` [PATCH 2/5] refs.c: write updates to packed refs when a transaction has more than one ref Ronnie Sahlberg
2014-07-29 21:09 ` Junio C Hamano
2014-07-30 19:19 ` Ronnie Sahlberg
2014-07-29 21:11 ` Junio C Hamano
2014-07-30 19:20 ` Ronnie Sahlberg
2014-07-25 17:55 ` [PATCH 3/5] remote.c: use a transaction for deleting refs Ronnie Sahlberg
2014-07-25 17:55 ` [PATCH 4/5] refs.c: make repack_without_refs static Ronnie Sahlberg
2014-07-25 17:55 ` [PATCH 5/5] refs.c: make the *_packed_refs functions static Ronnie Sahlberg
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=1406310926-4080-1-git-send-email-sahlberg@google.com \
--to=sahlberg@google.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).