Maven auto format might be converting it back to LF then GIT gets confused? Maybe just disable the conversion to CRLF?
On Mon, Apr 20, 2020 at 11:03 AM Lyor Goldstein <lgoldst...@apache.org> wrote: > >> I thought GIT does this automatically on Windows. > > Not entirely - there are some core settings that control it, but it is not > clear how they affect the behavior. My current setup in .gitconfig is shown > below: > > [core] > autocrlf = input > filemode = false > > > I have been using it so far without any problems - it is only after the > Maven auto-formatting plugin was added that I am encountering problems. >