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:56 UTC
Message-ID
<Pine.LNX.4.64.0606061553420.5498@g5.osdl.org>
In-Reply-To
<Pine.LNX.4.64.0606061550100.5498@g5.osdl.org>
On Tue, 6 Jun 2006, Linus Torvalds wrote:
> 
> In the future, just do "git fsck-objects --full" if you're nervous. That 
> will do a full integrity check.

Btw, this can output some scary-sounding "unreachable commit xxxxxx" messages or similar, without that actually necessarily being a problem at all. Unreachable objects are normal if you've deleted branches, for example, or if you rebase (or your upstream rebases, like the "pu" branch in the git archive).

So if you just see a few unreachable objects, doing a "git prune" will get rid of them, and they aren't normally any sign of actual trouble.

		Linus
Previous: Linus TorvaldsNext: Dave Jones
Message 3 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.