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

Re: git fsck not identifying corrupted packs

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Oct 20, 2009, 11:56 UTC
Message-ID
<vpq1vkygtx6.fsf@bauges.imag.fr>
In-Reply-To
<alpine.DEB.1.00.0910201221250.4985@pacific.mpi-cbg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 13 quoted lines
> Hi,
>
> On Tue, 20 Oct 2009, Alex Riesen wrote:
>
>> On Tue, Oct 20, 2009 at 08:45, Junio C Hamano <gitster@pobox.com> wrote:
>> > Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
>> >>> It probably is also a good idea to add a "--loose" option that does what
>> >>> "fsck" currently does without "--full".  It is a good name
>> 
>> --no-full works
>
> It works.  Technically.  For human users, though, --loose-objects-only 
> (with a shortcut "--loose") would be better.

OTOH, the advantage of "--no-full" is that it's compatible with existing Git versions. If I learn Git 1.6.6 with --no-full, and use it in a script, then my stript works also with older Gits.

But anyway, I think very few people are actually interested in "git --no-full" (or call it whatever you like), so I don't think this is very important.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Johannes SchindelinNext: Junio C Hamano
Message 12 of 21 in “git fsck not identifying corrupted packs”
  1. Sergio CallegariOct 19, 2009
  2. Johannes SixtOct 19, 2009
  3. Johannes SchindelinOct 19, 2009
  4. Junio C HamanoOct 19, 2009
  5. Wesley J. LandakerOct 19, 2009
  6. Robin RosenbergOct 20, 2009
  7. Wesley J. LandakerOct 20, 2009
  8. Matthieu MoyOct 20, 2009
  9. Junio C HamanoOct 20, 2009
  10. Alex RiesenOct 20, 2009
  11. Johannes SchindelinOct 20, 2009
  12. Matthieu MoyOct 20, 2009
  13. fsck: default to "git fsck --full"Junio C Hamano, Oct 20, 2009
  14. Nicolas PitreOct 20, 2009
  15. Junio C HamanoOct 20, 2009
  16. Nicolas PitreOct 20, 2009
  17. Alex RiesenOct 20, 2009
  18. Sergio CallegariOct 19, 2009
  19. Wesley J. LandakerOct 19, 2009
  20. Matthieu MoyOct 20, 2009
  21. Gabor GombasOct 19, 2009

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.