Skip to content

update-ref: allow creation of multiple transactions

Patrick Steinhardt git 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 5 repliesIn review
  2. v34 patches 5 repliesSuperseded
  3. v24 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches6 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4t1400: avoid touching refs on filesystemt/t1400-update-ref.sh+42 -353 replies
2/4update-ref: allow creation of multiple transactionsDocumentation/git-update-ref.txt builtin/update-ref.c t/t1400-update-ref.sh+64 -20 replies
3/4p1400: use `git-update-ref --stdin` to test multiple transactionst/perf/p1400-update-ref.sh+7 -130 replies
4/4update-ref: disallow "start" for ongoing transactionsbuiltin/update-ref.c t/t1400-update-ref.sh+13 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/4] update-ref: allow creation of multiple transactions

Hi,

this is the fourth version of this patch series implementing support for creation of multiple reference transactions in a single git-update-ref process.

All changes are only in the first patch updating t1400:

- A stale 'rm -f' was removed.

- The workaround around broken repos was removed as we no longer delete HEAD.

- Tests have been improved to verify that deleting a symref won't delete their target.

Patrick

Patrick Steinhardt (4):
t1400: avoid touching refs on filesystem
update-ref: allow creation of multiple transactions
p1400: use git-update-ref --stdin to test multiple transactions
update-ref: disallow "start" for ongoing transactions

 Documentation/git-update-ref.txt |   3 +-
 builtin/update-ref.c             |  15 +++-
 t/perf/p1400-update-ref.sh       |  20 ++---
 t/t1400-update-ref.sh            | 138 +++++++++++++++++++++++--------
 4 files changed, 126 insertions(+), 50 deletions(-)
Signature · 1 line
2.29.2