eclipse - svn 同步 - 文件仅在换行方面不同

发布于 2024-09-10 15:49:43 字数 141 浏览 1 评论 0原文

我在一个小组工作,其中有使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

呆头 2024-09-17 15:49:43

您可以在文件上设置 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 )

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文