diff options
author | Stefan Beller <sbeller@google.com> | 2015-01-08 03:23:18 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-01-08 03:56:43 (GMT) |
commit | 222368c6456211a3b2054ce4651cb58703886965 (patch) | |
tree | 12213afffd19971bb7c1a7693565ea4060f0d968 /http.c | |
parent | a1a261457c0577f5e0620fcc2b803999a6d5b8cf (diff) | |
download | git-222368c6456211a3b2054ce4651cb58703886965.zip git-222368c6456211a3b2054ce4651cb58703886965.tar.gz git-222368c6456211a3b2054ce4651cb58703886965.tar.bz2 |
receive-pack.c: move transaction handling in a central place
This moves all code related to transactions into the
execute_commands_non_atomic function. This includes
beginning and committing the transaction as well as
dealing with the errors which may occur during the
begin and commit phase of a transaction.
No functional changes intended.
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 'http.c')
0 files changed, 0 insertions, 0 deletions