Git stash: prevent converting line separators

Viewed 112

In my normal core.autocrlf=true repositories on Windows I had a file with \n line separators (intentionally). After saving as a stash and applying it later, it was changed back to \r\n which was a little bit unexpected for me.

How can I make saving and applying a stash not convert any line separator but keep the files as is?

2 Answers
Related