From 66411096cff1065faa9ce0bb418e48f644ff33ad Mon Sep 17 00:00:00 2001 From: Aaron Taylor Date: Thu, 5 Nov 2020 10:23:48 +0000 Subject: [PATCH] Changed default diff style from 'inline' to 'sidebyside' in gitweb. --- gitweb.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitweb.cgi b/gitweb.cgi index d83d5e1..88da59b 100755 --- a/gitweb.cgi +++ b/gitweb.cgi @@ -7733,7 +7733,7 @@ sub git_object { sub git_blobdiff { my $format = shift || 'html'; - my $diff_style = $input_params{'diff_style'} || 'inline'; + my $diff_style = $input_params{'diff_style'} || 'sidebyside'; my $fd; my @difftree; @@ -7894,7 +7894,7 @@ sub diff_style_nav { sub git_commitdiff { my %params = @_; my $format = $params{-format} || 'html'; - my $diff_style = $input_params{'diff_style'} || 'inline'; + my $diff_style = $input_params{'diff_style'} || 'sidebyside'; my ($patch_max) = gitweb_get_feature('patches'); if ($format eq 'patch') { -- 2.20.1