summaryrefslogtreecommitdiffstats
path: root/sequencer.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <sahlberg@google.com>2014-04-29 21:06:19 +0200
committerJunio C Hamano <gitster@pobox.com>2014-09-03 19:04:09 +0200
commit2bdc785fd7f699669a582f7a83f5b81192d24d88 (patch)
tree6e03d90eb2480920228e31f2580b4622236baf0b /sequencer.c
parentrefs.c: make ref_transaction_begin take an err argument (diff)
downloadgit-2bdc785fd7f699669a582f7a83f5b81192d24d88.tar.xz
git-2bdc785fd7f699669a582f7a83f5b81192d24d88.zip
refs.c: add transaction.status and track OPEN/CLOSED
Track the state of a transaction in a new state field. Check the field for sanity, i.e. that state must be OPEN when _commit/_create/_delete or _update is called or else die(BUG:...) Signed-off-by: Ronnie Sahlberg <sahlberg@google.com> Reviewed-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.c')
0 files changed, 0 insertions, 0 deletions