Re: Having an invalid HEAD file causes git not to recognize the repository

2012-08-21 Thread Egon Elbre
On Tue, Aug 21, 2012 at 10:24 AM, Jeff King wrote: > >> I ran into this problem when I had a BSOD during a rebase (ignore that >> I'm having to use Windows). This meant that only half of the hash got >> written into HEAD and all git commands I tried failed. > > That generally shouldn't happen, as

Re: Having an invalid HEAD file causes git not to recognize the repository

2012-08-21 Thread Jeff King
On Fri, Aug 17, 2012 at 02:42:33PM +0300, Egon Elbre wrote: > Having an invalid HEAD file causes git not to recognize the repository > and will cause an invalid message "fatal: Not a git repository (or any > of the parent directories): .git" although there is a .git folder and > everything seems o