git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] use packed refs for ref-transactions
@ 2014-07-30 21:55 Ronnie Sahlberg
  2014-07-30 21:55 ` [PATCH v2 1/5] refs.c: move reflog updates into its own function Ronnie Sahlberg
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Ronnie Sahlberg @ 2014-07-30 21:55 UTC (permalink / raw)
  To: git; +Cc: Ronnie Sahlberg

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 :

Version 2:
-- Updated to address Junio's concerns



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      |  69 ++++++++++++----------
 refs.c                | 155 ++++++++++++++++++++++++++++++++------------------
 refs.h                |  33 -----------
 t/t5516-fetch-push.sh |   2 +-
 5 files changed, 151 insertions(+), 124 deletions(-)

-- 
2.0.1.523.g0041e8a

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-30 21:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-30 21:55 [PATCH v2 0/5] use packed refs for ref-transactions Ronnie Sahlberg
2014-07-30 21:55 ` [PATCH v2 1/5] refs.c: move reflog updates into its own function Ronnie Sahlberg
2014-07-30 21:55 ` [PATCH v2 2/5] refs.c: write updates to packed refs when a transaction has more than one ref Ronnie Sahlberg
2014-07-30 21:55 ` [PATCH v2 3/5] remote.c: use a transaction for deleting refs Ronnie Sahlberg
2014-07-30 21:55 ` [PATCH v2 4/5] refs.c: make repack_without_refs static Ronnie Sahlberg
2014-07-30 21:55 ` [PATCH v2 5/5] refs.c: make the *_packed_refs functions static Ronnie Sahlberg

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).