gitk 的“Mark Branch Sides”的定义选项
在 gitk 中,“编辑视图”(F4) 窗口中有一个选项,称为“标记分支边”。它似乎对应于 --left-right 选项:
+set known_view_options {
+ {perm b . {} {mc "Remember this view"}}
+ {args t50= + {} {mc "Commits to include (arguments to git log):"}}
+ {all b * "--all" {mc "Use all refs"}}
+ {dorder b . {"--date-order" "-d"} {mc "Strictly sort by date"}}
+ {lright b . "--left-right" {mc "Mark branch sides"}}
我能看到的唯一区别是提交是用三角形而不是圆圈标记的。这个选项应该做什么?
In gitk, there is an option in the "Edit View" (F4) window called "Mark branch sides". It seems to correspond to the --left-right option:
+set known_view_options {
+ {perm b . {} {mc "Remember this view"}}
+ {args t50= + {} {mc "Commits to include (arguments to git log):"}}
+ {all b * "--all" {mc "Use all refs"}}
+ {dorder b . {"--date-order" "-d"} {mc "Strictly sort by date"}}
+ {lright b . "--left-right" {mc "Mark branch sides"}}
The only difference I can see is that the commits are marked by triangles instead of circles. What is this option supposed to do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想它链接到 git log 或 git rev-list --left-right 选项:
(
<
和>< /code> 应该解释 gitk 中使用的三角形)
来自 ProGit 书:
它有助于查看远程更改)
Dmitry Avtonomov 添加了评论(十一年后):
I suppose it is linked to the git log or git rev-list --left-right option:
(the
<
and>
should explain the triangles used in gitk)From ProGit book:
(It helps for seeing remote changes)
Dmitry Avtonomov adds in the comments (eleven years later):