了解 P4 描述/差异摘要 (-ds) 选项
大家好,P4 的朋友们,
我正在尝试理解 P4 描述 -ds 的输出。我假设这与 p4 diff -ds 输出相同。
以下是“差异...”块的示例:
==== //depot/Groups/mygroup/trunk/main/FooBar.java#5(文本)====
添加 7 块 13 行
删除了1块1行
更改了 16 块 92 / 118 行
~
现在我明白添加和删除的行是清楚的,但为什么更改的行有两个数字(92 / 118)。
谢谢!
- 法学博士
Greetings P4 folks,
I am trying to understand the P4 describe -ds output. I am assuming that this is the same as the p4 diff -ds output.
Here is an example of the "Differences ..." block:
==== //depot/Groups/mygroup/trunk/main/FooBar.java#5 (text) ====
add 7 chunks 13 lines
deleted 1 chunks 1 lines
changed 16 chunks 92 / 118 lines
~
Now I understand that add and deleted lines are clear but why are there two numbers for the changed lines (92 / 118).
Thanks!
- JsD
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它们是更改前后的行数,在更改的块内。换句话说,16 个位置的 92 行代码被更改为 118 行代码。
They are the number of lines before and after the change, within the changed chunks. In other words, 92 lines were changed across 16 locations to become 118 lines of code.