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

[PATCH 0/2] refs/files-backend: fix two subtle error-handling bugs

From
Jeff King <peff@peff.net>
Date
Mar 21, 2019, 09:28 UTC
Message-ID
<20190321092829.GA2648@sigill.intra.peff.net>

This series fixes two bugs around the error-handling of writing packed-refs during ref deletion. The first one came from a real-world case. The second is impossible to trigger (currently), but since I noticed it while hunting the first one, I figured it was worth fixing.

  [1/2]: refs/files-backend: handle packed transaction prepare failure
  [2/2]: refs/files-backend: don't look at an aborted transaction
 refs/files-backend.c         | 16 +++++++++++++++-
 t/t1404-update-ref-errors.sh | 16 ++++++++++++++++
 2 files changed, 31 insertions(+), 1 deletion(-)
-Peff
Next: Jeff King
Message 1 of 5 in “refs/files-backend: fix two subtle error-handling bugs”
  1. 0/2 refs/files-backend: fix two subtle error-handling bugsJeff King, Mar 21, 2019
  2. 1/2 refs/files-backend: handle packed transaction prepare failureJeff King, Mar 21, 2019
  3. Jeff KingMar 22, 2019
  4. Taylor BlauMar 22, 2019
  5. 2/2 refs/files-backend: don't look at an aborted transactionJeff King, Mar 21, 2019

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.