kibit icon indicating copy to clipboard operation
kibit copied to clipboard

--replace will modify some files, but only change line endings

Open jmromrell opened this issue 8 years ago • 4 comments
trafficstars

I ran kibit --replace on my codebase. It made changes to a bunch of files (yay!) but when I diff'ed them in IntelliJ a bunch of the files only had line endings changed. Is there a way to disable this? In the past, it's never shown suggestions to change line endings, so I don't know why it is changing them now with --replace.

It's a bit annoying to have to run through and diff every file to revert files where only line endings were changed.

jmromrell avatar May 08 '17 15:05 jmromrell

It appears to replace crlf line endings with lf

jmromrell avatar May 08 '17 15:05 jmromrell

Hey thanks for posting these issues. I don't have any time to work on them at the moment, but would happily accept patches for the issues you've highlighted.

danielcompton avatar May 09 '17 01:05 danielcompton

I've familiarized myself with the code. I'll see if I can find time to work on some of them.

jmromrell avatar May 09 '17 03:05 jmromrell

Accidentally closed

jmromrell avatar May 09 '17 23:05 jmromrell