Re: problem using git on cygwin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, 30 Apr 2007, srinivas naga vutukuri wrote:

> $ git add project/test.c
> error: bad index file sha1 signature
> fatal: index file corrupt

I could imagine that you do not have "binary mode" default for opening 
files.

However, if you do, maybe your .git/index went corrupt?

As a workaround, you could try "git read-tree HEAD" and then "git add" 
again, but make sure you have a backup of .git/index, since it could be a 
bug in Git(cygwin) and if so, I'd like to fix it.

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]