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

Re: gc considered dangerous

From: Robin Rosenberg <hidden>
Date: 2016-06-15 22:46:07

söndag 08 februari 2009 19:24:33 skrev Steffen Prohaska:
If you have a backup of the corrupted repository right after it got
corrupted, you can create an index by running "git index-pack" on
the pack that is lacking an index.  This might rescue the lost
branches.
Yep, but the problem was that git gc was run again on the corrupted repo
so there was only the idx left. (L)Users...

Couldn't we make repack refuse to repack if it discovered left-overs from
a failed repack, or at least make it use the old pack files as reference instead
of ignoring them? Leaving too many objects is, after all, much better than
destroying the repo.

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