diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2014-04-07 15:48:10 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-04-07 12:09:14 -0700 |
commit | caa4046c4f480ceae5afb20e3172a437865cc51f (patch) | |
tree | 6b1af26f8d1ad2cae7b4f03e53451aafeb82a088 /ident.c | |
parent | update-ref --stdin: harmonize error messages (diff) | |
download | tgif-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 'ident.c')
0 files changed, 0 insertions, 0 deletions