Re: corrupted Git repository
- From
Carlos Martín Nieto <cmn@elego.de>
- Date
- Jun 21, 2011, 14:32 UTC
- Message-ID
- <20110621143211.GA4910@bee.lab.cmartin.tk>
- In-Reply-To
- <BANLkTi=6jt7Z3fvK++ontW=F9AJbmEr9Qg@mail.gmail.com>
On Tue, Jun 21, 2011 at 06:56:55PM +0430, Kasra Khosoussi wrote:
Show 10 quoted lines
> Good question! Actually I have no idea! > > It was fine yesterday. I had to leave home so I just shutdown my > netbook (I just issued the command and closed the lid). Files were > open in my editor but I'm sure that there were no Git processes > running at the time. The battery was empty this morning, so my best > guess is that the halt operation was somehow failed, but I think it > can not explain the corruption. > > Any idea?
Does your computer actually shutdown or suspend? It could be that the files still hadn't been flushed to disc when the battery ran out, but that is unlikely if it did keep running.
Cheers, cmn