eclipse - svn 同步 - 文件仅在换行方面不同
我在一个小组工作,其中有使用 Linux、Windows 和 Mac 的开发人员。 SVN 存储库中的文本文件经常会具有不同的文本文件行分隔符 (CR / CRLF / LF)。
有人知道我是否可以避免在 eclipse svn 同步期间比较行分隔符?
I'm working in a group where there are developers that use linux, windows and mac.
Often happens that in SVN repository text files have different text file line delimiters (CR / CRLF / LF).
Someone know if I could avoid to compare line delimiters during eclipse svn synchronize?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在文件上设置 svn:eol-style 属性,甚至可能使用 svn 中的自动属性(在 Linux 中通常是 ~/.subversion/config 中的 [auto-props] 部分)
You can set an
svn:eol-style
propery on files, possibly even using automatic properties in svn (in linux that would usually be the [auto-props] section in ~/.subversion/config )