-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import: \r\n line endings in DVC-file (Win) #3679
Comments
@jorgeorpinel So on windows we use CRLF? That is alright for newly generated files. When you |
Hmmm. I don't think the DVC-file I created earlier with |
I can confirm that the file always had CRLF line terminations from the beginning when I created it. Even after committed, this was preserved. For some reason |
I discovered that the resulting
data/data.xml.dvc
has^M
at line endings when usinggit diff
. I'm using Git Bash (on Cmder)dvc import
is the only command that I've noticed does this, so far. I guess either make sure all commands use UNIX-style line endings, or introduce a config option for this, by default auto-detecting the system if possible. Something likegit config core.autocrlf
.The text was updated successfully, but these errors were encountered: