Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SVN 中是否存在标准或普通差异格式或仅存在统一格式?
svn diff --diff-cmd diff -x --normal
这没有副作用,不像 -b 会导致空白的变化被忽略。
svn help diff揭示了这一点:
svn help diff
--diff-cmd arg : 使用 ARG 作为 diff 命令
因此你应该可以svn diff --diff-cmd diff使用标准来使用diff。
svn diff --diff-cmd diff
diff