From: Aaron Taylor Date: Thu, 5 Nov 2020 10:23:48 +0000 (+0000) Subject: Changed default diff style from 'inline' to 'sidebyside' in gitweb. X-Git-Url: http://git.subgeniuskitty.com/gitweb-sgk/.git/commitdiff_plain/66411096cff1065faa9ce0bb418e48f644ff33ad Changed default diff style from 'inline' to 'sidebyside' in gitweb. --- 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') {