git - Egit merge: abort/finish merge when no differences can be found -
i have strange behaviour egit complains merges can not solve, can not find conflicts anywhere - both files shown identical.
so e.g. in remote file is:
/** * liste der sensor objekte, die schon in strassenteilsegmente zugeordnet sind */ private linkedlist<systemobject> checkliste; in local file is:
/** * liste der sensor objekte, die schon in strassenteilsegmente zugeordnet sind */ private linkedlist<systemobject> checkliste; the existing difference common ancestor not have these lines.
consequently have no chance resolve conflict, , automatic merging fails. idea try ?
it because both files have different eol (end of line) style.
in case, since egit support core.autocrlf, make sure:
- it set false, in order jgit not change automatically eol style
- to convert local file right eol style versioned in repo
Comments
Post a Comment