summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2015-01-07 19:23:19 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-01-07 19:56:43 -0800
commit68deed298ac4c257cd72d6bee543f651cb10d669 (patch)
treecc7b377b341e463b18c0a6efb76605f273819977 /aclocal.m4
parentreceive-pack.c: move transaction handling in a central place (diff)
downloadtgif-68deed298ac4c257cd72d6bee543f651cb10d669.tar.xz
receive-pack.c: add execute_commands_atomic function
This introduces the new function execute_commands_atomic which will use one atomic transaction for all updates. The default behavior is still the old non atomic way, one ref at a time. This is to cause as little disruption as possible to existing clients. It is unknown if there are client scripts that depend on the old non-atomic behavior so we make it opt-in for now. A later patch will add the possibility to actually use the functionality added by this patch. For now use_atomic is always 0. Inspired-by: Ronnie Sahlberg <sahlberg@google.com> Helped-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'aclocal.m4')
0 files changed, 0 insertions, 0 deletions