Hi, this is a short patch series to implement support for atomic reference updates for git-fetch(1). It's similar to `git push --atomic`, only that it applies to the local side. That is the fetch will either succeed and update all remote references or it will fail and update none. Patrick Patrick Steinhardt (2): fetch: allow passing a transaction to `s_update_ref()` fetch: implement support for atomic reference updates Documentation/fetch-options.txt | 4 + builtin/fetch.c | 72 ++++++++++++----- t/t5510-fetch.sh | 139 ++++++++++++++++++++++++++++++++ 3 files changed, 197 insertions(+), 18 deletions(-) -- 2.30.0
Attachment:
signature.asc
Description: PGP signature