git-fsck-cache cleaning

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

git-fsck-cache cleaning

From: Jon Loeliger <hidden>
Date: 2016-06-15 22:42:03

Hi GITers,

So, after you dink around in a GIT tree for a while,
and you discover little bloblets left around by using
git-fsck-cache, what do you do?  How can you clean up
afterwards?

Specifically, I have a GIT tree that shows some dangling
blobs that are unreferenced in my tree.  Not sure how the
got there, but I've verified through git-cat-file that
the contents of many of those blobs are actually validly
represented in my tree.  Yet, fsck suggests they dangle.

So, for each of the various fsck warnings, what can be
done to clean things up and yet maintain integrity in
the tree?  I have apparently unreferenced blobs.  I should
be able to just "rm .git/objects/xx/<sha1>" and be done
with them, right?  What about the other warnings?

Thanks,
jdl

Re: git-fsck-cache cleaning

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:03

Hi,

do you mean git-prune-script? It is documented in 
Documentation/git-prune-script.txt.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help