Re: gc considered dangerous
From: Steffen Prohaska <hidden>
Date: 2016-06-15 22:46:07
On Feb 8, 2009, at 5:04 PM, Robin Rosenberg wrote:
söndag 08 februari 2009 15:56:38 skrev Johannes Schindelin:quoted
Hi, On Sun, 8 Feb 2009, Robin Rosenberg wrote:quoted
I've seen this. Running git gc on Windows, while having Elipse open can kill your object database.You had me really scared with the mail subject!Losing a repo *is* scary., especially if your boss is the one losing it. That should simply not happen unless there is a disk failure. Fortunately I believe the two lost branches did not contain anything useful.
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. Steffen