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

[PATCH 0/1] ref: add object check for regular ref

From
shejialuo <shejialuo@gmail.com>
Date
Dec 27, 2024, 13:40 UTC
Message-ID
<Z26uXy31q83dyxvD@ArchLinux>
Hi All:

When I implement the code for packed ref content checks, I somehow notice that I ignore checks for the object. In the first glance, I think I could make this patch in the first of my packed ref content check series. However, this is not a good idea which may cause the reviewers more overhead.

And this patch aims at checking whether the object exists and whether the type of the object is correct.

Thanks, Jialuo

shejialuo (1):
  ref: add object check for regular ref
 refs/files-backend.c     | 50 ++++++++++++++++++++++++++++--------
 t/t0602-reffiles-fsck.sh | 55 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+), 10 deletions(-)
-- 
2.47.1
Next: shejialuo
Message 1 of 4 in “ref: add object check for regular ref”
  1. 0/1 ref: add object check for regular refshejialuo, Dec 27, 2024
  2. 1/1 ref: add object check for regular refshejialuo, Dec 27, 2024
  3. shejialuoDec 27, 2024
  4. shejialuoJan 5, 2025

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.