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

Re: [PATCH v3] builtin-fsck: reports missing parent commits

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 25, 2008, 03:08 UTC
Message-ID
<7vlk59pwaj.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<12038867362489-git-send-email-mkoegler@auto.tuwien.ac.at>
Martin Koegler <mkoegler@auto.tuwien.ac.at> writes:
> Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>

As far as I can tell, the new test is not testing the commit object we are looking at from the object database. What it is testing is if the code that parsed and prepared the information in "struct commit" found the same number of parents an extra check we are doing here by hand (if not grafted --- but presumably whoever gave the struct commit we are handling here would have obtained that information by doing the same parsing), or the parsing of the graft file (when grafted --- but presumably whoever gave the struct commit we are handling here would have obtained that information by calling the same llokup_commit_graft()).

So I am not sure what problems in the repository objects these new checks are designed to catch.

This needs a lot of explanation than what's in your commit log message.

Previous: Martin KoeglerNext: Martin Koegler
Message 2 of 4 in “builtin-fsck: reports missing parent commits”
  1. builtin-fsck: reports missing parent commitsMartin Koegler, Feb 24, 2008
  2. Junio C HamanoFeb 25, 2008
  3. Martin KoeglerFeb 25, 2008
  4. Junio C HamanoFeb 25, 2008

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.