summaryrefslogtreecommitdiff
path: root/Documentation/config/man.txt
diff options
context:
space:
mode:
authorLibravatar Patrick Steinhardt <ps@pks.im>2020-04-02 09:09:53 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-04-02 11:09:48 -0700
commitde0e0d650a1c2afc81a4c5e8d37d266ffa2b8ccf (patch)
treedb7c29b7f3be626bb60d4ae6b3b22212d3dcb909 /Documentation/config/man.txt
parentupdate-ref: pass end pointer instead of strbuf (diff)
downloadtgif-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 'Documentation/config/man.txt')
0 files changed, 0 insertions, 0 deletions