You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I discovered that the resulting data/data.xml.dvc has^M at line endings when using git 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 like git config core.autocrlf.
The text was updated successfully, but these errors were encountered:
@jorgeorpinel So on windows we use CRLF? That is alright for newly generated files. When you git add them, git will take care of that. It also has a config option for that. There is nothing we need to do on DVC side, we just comply with the OS conventions that we are running on.
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 git diff thinks that the committed file does not use CRLF which seems wrong to me... But it's not a DVC issue!
Uh oh!
There was an error while loading. Please reload this page.
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: