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

fsck-object --standalone got errors

From
MLMing Lei <mlei@brocade.com>
Date
Mar 9, 2006, 02:35 UTC
Message-ID
<440F945C.2010401@brocade.com>

I have a repository created by GIT itself(not cognito, etc). It has branches called base, master and origin. When I did git-fsck-objects --full there is nothing shown, but when I did git-fsck-objects --standalone, it displayed following:

error: refs/heads/master: invalid sha1 pointer ea51c414519ffe78c5bf95c488e94e82d3603472 error: refs/heads/base: invalid sha1 pointer 4b75aaeb5af2dc69374ad080020758e4de6a45d2 error: refs/heads/origin: invalid sha1 pointer f4c9503abb2ad52752004e8e9b77b72e23d18d3e fatal: No default references

The question is: what's the purpose for this standalone check? what's these errors about? Do I need to care these errors? what's the step to ensure my repository always be in a good shape? Is running fsck-objects --full sufficient?

Thanks Ming

Next: Junio C Hamano
Message 1 of 3 in “fsck-object --standalone got errors”
  1. Ming LeiMar 9, 2006
  2. Junio C HamanoMar 9, 2006
  3. fsck-objects: Remove --standaloneJunio C Hamano, Mar 9, 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.