CRLF in kicad-symbols repo

I recently updated my checkout of the kicad-symbols repo, and got these warnings from git:

warning: CRLF will be replaced by LF in Amplifier_Audio.lib.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in Amplifier_Buffer.dcm.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in Amplifier_Buffer.lib.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in Amplifier_Current.lib.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in Amplifier_Difference.dcm.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in Amplifier_Difference.lib.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in Amplifier_Instrumentation.dcm.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in Amplifier_Instrumentation.lib.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in Amplifier_Operational.dcm.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in Amplifier_Operational.lib.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in Amplifier_Video.lib.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in Comparator.lib.
The file will have its original line endings in your working directory.
warning: CRLF will be replaced by LF in MCU_Texas_MSP430.lib.
The file will have its original line endings in your working directory.

and then, although I haven’t made any changes in my local checkout, those files immediately show up as modified:

On branch master
Your branch is up-to-date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   Amplifier_Audio.lib
	modified:   Amplifier_Buffer.dcm
	modified:   Amplifier_Buffer.lib
	modified:   Amplifier_Current.lib
	modified:   Amplifier_Difference.dcm
	modified:   Amplifier_Difference.lib
	modified:   Amplifier_Instrumentation.dcm
	modified:   Amplifier_Instrumentation.lib
	modified:   Amplifier_Operational.dcm
	modified:   Amplifier_Operational.lib
	modified:   Amplifier_Video.lib
	modified:   Comparator.lib
	modified:   MCU_Texas_MSP430.lib

no changes added to commit (use "git add" and/or "git commit -a")

and there doesn’t seem to be any way to get rid of the modifications (I can do git reset --hard, which should get rid of all modifications, but the files still show up as modified).

Is there some reason this seems to only be causing a problem for me, and not for everyone else who uses this repo? How should I deal with it?

Thanks!

That’s strange. I will look into it. Just a heads up: A better place to report something like this is over on github as an issue.

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.