Skip to content

Fix for mh/packed-ref-store-prep

Michael Haggerty git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1lock_packed_refs(): fix cache validity checkrefs/files-backend.c+23 -91 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/1] Fix for mh/packed-ref-store-prep

When preparing a new patch series, I noticed a bug that crept into mh/packed-ref-store-prep while I was shuffling patches around. It introduces a race condition if another process rewrites the packed-refs file just before we lock it. See the commit message for more information.

This patch applies on top of mh/packed-ref-store-prep and merges to master without problems.

Michael

Michael Haggerty (1):
lock_packed_refs(): fix cache validity check

 refs/files-backend.c | 32 +++++++++++++++++++++++---------
 1 file changed, 23 insertions(+), 9 deletions(-)
Signature · 1 line
2.11.0