如何在 GitLab 中默认为并排视图 [英] How to default to side-by-side view in GitLab

查看:20
本文介绍了如何在 GitLab 中默认为并排视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使并排成为我的 GitLab 安装或项目或配置文件的默认差异?

How can I make Side-by-side be the default diff for my GitLab installation or project or profile?

推荐答案

2016 年 2 月更新

Update February 2016

问题现在出现在 issue CE 3071 并且...已通过 commit 9fdd605 解决!
使用 GitLab 8.5.0+,cookie 现在保留您的差异视图选择.

The issue is now at issue CE 3071 and... was resolved by commit 9fdd605!
A cookie now retain your diff view choice, with GitLab 8.5.0+.

原始答案(2015 年 2 月)

Original answer (February 2015)

现在看来不可能,可以在 建议 7082397

That doesn't seem to be possible right now, and can be voted up at the suggestion 7082397

现在,当我想查看代码时,每次打开合并请求时都必须选择并排差异,因为该选择不会存储/保存在任何地方.

Remember side-by-side diff choice

Right now when I want to review code, I have to choose side-by-side diff each time I open a Merge Request because that choice is not stored/saved anywhere.

要么将我最后一次选择/更改的查看器全局存储在某个地方,然后从那时起在所有差异视图上使用它.
或者让我在我的帐户上有一个配置选项,我可以在其中指定我的首选.

Either store my last choice/change of viewer globally somewhere and use it on all diff views from that point on.
Or let me have a config option on my account where I can specify my preferred choice.

GitLab 6.4 引入了并排差异视图(12 月2013)与 提交 b51c2c8.

The side-by-side diff view was introduced with GitLab 6.4 (Dec. 2013) with commit b51c2c8.

这篇关于如何在 GitLab 中默认为并排视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆