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

522 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 best solutions below

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