score:1

Accepted answer

the solution suggested by @robinst solves the problem. to avoid such discrepencies between egit and git because of the way that windows and cygwin deal with cr and lf, the solution is to set the property:

core.autocrlf=false

Related Query