How to default to side-by-side view in GitLab

杀马特。学长 韩版系。学妹 提交于 2019-12-22 01:54:01

问题


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


回答1:


Update February 2016

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+.


Original answer (February 2015)

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.

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



来源:https://stackoverflow.com/questions/28180650/how-to-default-to-side-by-side-view-in-gitlab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!