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

Re: [PATCH] fsck: do not print dangling objects by default

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 27, 2012, 19:29 UTC
Message-ID
<7vr4xg6pn2.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20120227191846.GB1600@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 9 quoted lines
>> Given that, isn't it not just sufficient but actually better to instead
>> add a new --no-dangling option and keep the default unchanged?
>
> ... Of course, it is fsck, so I wonder how often clueless people are
> really running it in the first place (i.e., it is not and should not be
> part of most users' typical workflows). If it is simply the case that
> they are being told to run "git fsck" by more expert users without
> understanding what it does, then I could buy the argument that those
> expert users could just as easily say "git fsck --no-dangling".

Yes, that was certainly part of my pros-and-cons analysis. If you run "git fsck" without "--no-dangling" without reading the manual, you may get confused, but that is *not* the primary audience. People who are curious can read the manual and figure it out, and the need for "fsck" is much rarer these days, compared to 2005 ;-)

In that context, only large downsides of potentially breaking and having to adjust existing scripts remains without much upsides, if we were to switch the default.

Previous: Jeff KingNext: Clemens Buchacher
Message 6 of 11 in “fsck: do not print dangling objects by default”
  1. fsck: do not print dangling objects by defaultClemens Buchacher, Feb 26, 2012
  2. Junio C HamanoFeb 26, 2012
  3. Junio C HamanoFeb 26, 2012
  4. Zbigniew Jędrzejewski-SzmekFeb 27, 2012
  5. Jeff KingFeb 27, 2012
  6. Junio C HamanoFeb 27, 2012
  7. Clemens BuchacherFeb 27, 2012
  8. Jeff KingFeb 27, 2012
  9. Clemens BuchacherFeb 27, 2012
  10. Junio C HamanoFeb 27, 2012
  11. fsck: --no-dangling omits "dangling object" informationJunio C Hamano, Feb 28, 2012

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.