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

Re: [PATCH 2/3] fsck_commit: remove duplicate tests

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 4, 2008, 07:33 UTC
Message-ID
<7vodaxkwgd.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20080204070600.GA30099@auto.tuwien.ac.at>
mkoegler@auto.tuwien.ac.at (Martin Koegler) writes:
Show 18 quoted lines
> On Mon, Feb 04, 2008 at 12:04:31AM +0000, Johannes Schindelin wrote:
>> On Sun, 3 Feb 2008, Junio C Hamano wrote:
>> > Martin Koegler <mkoegler@auto.tuwien.ac.at> writes:
>> > 
>> > > All tests on the commit buffer in fsck_cmd are ready done by 
>> > > parse_commit_buffer.
>> > >
>> > > This patch rips out all redundant tests.
>> > 
>> > As I believe in belt-and-suspenders when it comes to validation, I am 
>> > somewhat uneasy with this change.
>> 
>> Besides, should we really change fsck?  It's not _that_ much of a 
>> performance-critical operation.  Accuracy is much more important.
>> 
>> fsck is the reason I trust git with my data.
>
> Then please drop this patch. I hope the other two patches are OK.
Yeah, thanks for the other two, which I've queued already.
Previous: Martin Koegler
Message 7 of 7 in “git-fsck: report missing author/commit line in a commit as an error”
  1. 1/3 git-fsck: report missing author/commit line in a commit as an errorMartin Koegler, Feb 3, 2008
  2. 2/3 fsck_commit: remove duplicate testsMartin Koegler, Feb 3, 2008
  3. 3/3 parse_object_buffer: don't ignore errors from the object specific parsing functionsMartin Koegler, Feb 3, 2008
  4. Junio C HamanoFeb 3, 2008
  5. Johannes SchindelinFeb 4, 2008
  6. Martin KoeglerFeb 4, 2008
  7. Junio C HamanoFeb 4, 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.