git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Michael Haggerty <mhagger@alum.mit.edu>
Date
Jun 12, 2017, 08:06 UTC
Message-ID
<cover.1497253685.git.mhagger@alum.mit.edu>

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(-)
-- 
2.11.0
Next: Michael Haggerty
Message 1 of 3 in “Fix for mh/packed-ref-store-prep”
  1. 0/1 Fix for mh/packed-ref-store-prepMichael Haggerty, Jun 12, 2017
  2. 1/1 lock_packed_refs(): fix cache validity checkMichael Haggerty, Jun 12, 2017
  3. Jeff KingJun 12, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.