summaryrefslogtreecommitdiff
path: root/bundle.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2014-04-07 15:48:10 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-04-07 12:09:14 -0700
commitcaa4046c4f480ceae5afb20e3172a437865cc51f (patch)
tree6b1af26f8d1ad2cae7b4f03e53451aafeb82a088 /bundle.c
parentupdate-ref --stdin: harmonize error messages (diff)
downloadtgif-caa4046c4f480ceae5afb20e3172a437865cc51f.tar.xz
refs: add a concept of a reference transaction
Build out the API for dealing with a bunch of reference checks and changes within a transaction. Define an opaque ref_transaction type that is managed entirely within refs.c. Introduce functions for beginning a transaction, adding updates to a transaction, and committing/rolling back a transaction. This API will soon replace update_refs(). Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bundle.c')
0 files changed, 0 insertions, 0 deletions