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

Re: What's cooking in git.git (Feb 2012, #09; Sun, 26)

From
Øyvind A. Holm <sunny@sunbase.org>
Date
Mar 1, 2012, 00:11 UTC
Message-ID
<CAA787rkZKxYk_+WGD7_EhqxouzT=nhUEG0nn8KpZLSJskKiJdA@mail.gmail.com>
In-Reply-To
<7vd390btrf.fsf@alter.siamese.dyndns.org>
On 27 February 2012 08:49, Junio C Hamano <gitster@pobox.com> wrote:
Show 10 quoted lines
> * cb/fsck-squelch-dangling (2012-02-26) 1 commit
>  - fsck: do not print dangling objects by default
>
> Introduces "fsck --dangling" and removes the output for dangling objects
> from the default output.
>
> I personally do not think it is worth risking backward compatibility in
> the way this patch implements the squelching of the output.  An approach
> to add --no-dangling option without changing the default would be OK,
> though.

Agree. I use this functionality a lot, and this change would break a script I use to restore dangling commits. There's probably some (dirty) way around it, but I'd prefer if the backwards compatibility is retained.

BTW, the script I use is located at <https://github.com/sunny256/utils/blob/master/git-dangling> and I find it quite useful. Do you think it could be a contrib/ candidate?

Cheers, Øyvind

Previous: Junio C Hamano
Message 2 of 2 in “What's cooking in git.git (Feb 2012, #09; Sun, 26)”
  1. Junio C HamanoFeb 27, 2012
  2. Øyvind A. HolmMar 1, 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.