Making reflog modifications part of the transactions API
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | refs.c: let fprintf handle the formattingrefs.c | +2 | 0 replies | |
| 2/8 | refs.c: rename the transaction functionsbranch.c builtin/ builtin/ +9 more | +126 | 2 replies | |
| 3/8 | refs.c: rename transaction.updates to transaction.ref_updatesrefs.c | +7 | 0 replies | |
| 4/8 | refs.c: add transaction function to append to the reflogrefs.c | +92 | 1 reply | |
| 5/8 | refs.c: add transaction function to delete the reflogrefs.c | +61 | 0 replies | |
| 6/8 | refs.c: use a reflog transaction when writing during expirerefs.c | +35 | 0 replies | |
| 7/8 | refs.c: rename log_ref_setup to create_reflogbuiltin/ refs.c refs.h | +17 | 0 replies | |
| 8/8 | refs.c: allow deleting refs with a broken sha1builtin/ cache.h refs.c +1 more | +23 | 0 replies |
Reviews trailers per patch
2 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Jonathan Nieder |
|---|---|
| 1/8 | |
| 2/8 | R-b |
| 3/8 | R-b |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] Making reflog modifications part of the transactions API
This goes on top of Michaels series. The idea of this series is make the reflogs being part of the transaction API, so it will be part of the contract of transaction_commit to either commit all the changes or none at all.
Currently when using the transaction API to change refs, also reflogs are changed. But the changes to the reflogs just happen as a side effect and not as part of the atomic part of changes we want to commit altogether.
Ronnie Sahlberg (3):
refs.c: use a reflog transaction when writing during expire refs.c: rename log_ref_setup to create_reflog refs.c: allow deleting refs with a broken sha1
Stefan Beller (5):
refs.c: let fprintf handle the formatting
refs.c: rename the transaction functions
refs.c: rename transaction.updates to transaction.ref_updates refs.c: add transaction function to append to the reflog refs.c: add transaction function to delete the reflog
branch.c | 13 +- builtin/branch.c | 5 +- builtin/checkout.c | 8 +- builtin/commit.c | 10 +- builtin/fetch.c | 12 +- builtin/receive-pack.c | 13 +- builtin/replace.c | 10 +- builtin/tag.c | 10 +- builtin/update-ref.c | 26 ++-- cache.h | 7 + fast-import.c | 22 +-- refs.c | 359 ++++++++++++++++++++++++++++++++++--------------- refs.h | 43 +++--- sequencer.c | 12 +- t/t3200-branch.sh | 8 ++ walker.c | 10 +- 16 files changed, 359 insertions(+), 209 deletions(-)
Signature · 1 line
2.2.0