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

Re: Integrity check

From
Linus Torvalds <torvalds@osdl.org>
Date
Jun 6, 2006, 22:53 UTC
Message-ID
<Pine.LNX.4.64.0606061550100.5498@g5.osdl.org>
In-Reply-To
<pan.2006.06.06.22.46.26.518589@canit.se>
On Wed, 7 Jun 2006, Kenneth Johansson wrote:
>
> Iwas doing a git pull that ended badly and I thought that just redoing the
> command may help but then git thinks everything is just fine.

What happened is that your first pull actually worked fine, but the final "git-diff-tree" that shows what the pull actually _did_ ended up SIGSEGV'ing.

Subsequent pulls won't SIGSEGV, because they dont' have anything to do any more: your state is fine.

I think the SIGSEGV was due to the problem (that Junio already fixed) with a corrupted heap due to the "diffstat" doing bad things for renames.

So you probably do want to update your git version, but I don't think anything bad actually ever happened, apart from the (a) scare and (b) lack of diffstat output after the pull.

> After a few failed attempts I still have not find a good way to make sure
> that everything is indeed correct. What is the suggested commands to do
> that ?

In the future, just do "git fsck-objects --full" if you're nervous. That will do a full integrity check.

		Linus
Previous: Kenneth JohanssonNext: Linus Torvalds
Message 2 of 4 in “Integrity check”
  1. Kenneth JohanssonJun 6, 2006
  2. Linus TorvaldsJun 6, 2006
  3. Linus TorvaldsJun 6, 2006
  4. Dave JonesJun 7, 2006

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.