Changed default diff style from 'inline' to 'sidebyside' in gitweb.
[gitweb-sgk] / gitweb.cgi
index d83d5e1..88da59b 100755 (executable)
@@ -7733,7 +7733,7 @@ sub git_object {
 
 sub git_blobdiff {
        my $format = shift || 'html';
 
 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;
 
        my $fd;
        my @difftree;
@@ -7894,7 +7894,7 @@ sub diff_style_nav {
 sub git_commitdiff {
        my %params = @_;
        my $format = $params{-format} || 'html';
 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') {
 
        my ($patch_max) = gitweb_get_feature('patches');
        if ($format eq 'patch') {