Thread (5 messages) flat view 5 messages, 4 authors, 2016-06-15

Re: problem using git on cygwin

From: Alex Riesen <hidden>
Date: 2016-06-15 22:43:07

On 5/2/07, srinivas naga vutukuri [off-list ref] wrote:
quoted
On Mon, 30 Apr 2007, srinivas naga vutukuri wrote:
quoted
$ 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.
       i do't think it is in binary mode when opening the files. I am
used vim to create a new file and editing through that. And also am
used file format (set ff=unix).
Johannes was referring to binary mode for writing files for _cygwin_
itself, not for files the git has to manage. See "Default Text File Type"
in cygwins setup.exe (maybe even follow the link "Read more...").
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help