当我使用“svn diff en.lua”时,我得到以下结果:
num="Amount",
all="All",
class="Quality",
-own="Have",
+own="Have2",
paper="Specs",
piece="Shard",
not_enough=" not enough",
但我只想看看这个
-own="Have",
+own="Have2",
我想知道“svn diff”应该使用哪个参数?
至少在 svn 1.9 中,你可以使用svn diff -x -U0
。我不确定该选项在早期版本中是否可用。这似乎没有记录在svn book http://svnbook.red-bean.com/nightly/en/svn.ref.svn.html#svn.ref.svn.sw.extensions,但是命令行文档显示:
$svn help diff
[...]
-x [--extensions] ARG : Specify differencing options for external diff or
internal diff or blame. Default: '-u'. Options are
separated by spaces. Internal diff and blame take:
-u, --unified: Show 3 lines of unified context
-b, --ignore-space-change: Ignore changes in
amount of white space
-w, --ignore-all-space: Ignore all white space
--ignore-eol-style: Ignore changes in EOL style
-U ARG, --context ARG: Show ARG lines of context
-p, --show-c-function: Show C function name
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)