Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

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

From: Øyvind A. Holm <hidden>
Date: 2016-06-15 22:53:11

On 27 February 2012 08:49, Junio C Hamano [off-list ref] wrote:
* 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help