How to default to side-by-side view for diff in GitWeb?

504 views Asked by At

I find this post How to default to side-by-side view in GitLab, the answer was "not possible".

What about gitweb? Can I default to side-by-side view in GitWeb?

1

There are 1 answers

0
VonC On

Note: default diff view choice is now (since February 2016, GitLab 8.5.0) possible, and retained by a cookie (I have updated my old answer)

I don't see a similar option in gitweb (see gitweb.perl#L7768-L7787)

You can try and use the ?diff_style=sidebyside url parameter though.