diff options
author | Patrick Steinhardt <ps@pks.im> | 2020-04-02 09:09:53 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-02 11:09:48 -0700 |
commit | de0e0d650a1c2afc81a4c5e8d37d266ffa2b8ccf (patch) | |
tree | db7c29b7f3be626bb60d4ae6b3b22212d3dcb909 /t/t5324-split-commit-graph.sh | |
parent | update-ref: pass end pointer instead of strbuf (diff) | |
download | tgif-de0e0d650a1c2afc81a4c5e8d37d266ffa2b8ccf.tar.xz |
update-ref: move transaction handling into `update_refs_stdin()`
While the actual logic to update the transaction is handled in
`update_refs_stdin()`, the transaction itself is started and committed
in `cmd_update_ref()` itself. This makes it hard to handle transaction
abortion and commits as part of `update_refs_stdin()` itself, which is
required in order to introduce transaction handling features to `git
update-refs --stdin`.
Refactor the code to move all transaction handling into
`update_refs_stdin()` to prepare for transaction handling features.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5324-split-commit-graph.sh')
0 files changed, 0 insertions, 0 deletions