projects
/
gitweb-sgk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d756047
)
Changed default diff style from 'inline' to 'sidebyside' in gitweb.
author
Aaron Taylor
<ataylor@subgeniuskitty.com>
Thu, 5 Nov 2020 10:23:48 +0000
(10:23 +0000)
committer
Aaron Taylor
<ataylor@subgeniuskitty.com>
Thu, 5 Nov 2020 10:23:48 +0000
(10:23 +0000)
gitweb.cgi
patch
|
blob
|
blame
|
history
diff --git
a/gitweb.cgi
b/gitweb.cgi
index
d83d5e1
..
88da59b
100755
(executable)
--- a/
gitweb.cgi
+++ b/
gitweb.cgi
@@
-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'} || '
inlin
e';
+ my $diff_style = $input_params{'diff_style'} || '
sidebysid
e';
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'} || '
inlin
e';
+ my $diff_style = $input_params{'diff_style'} || '
sidebysid
e';
my ($patch_max) = gitweb_get_feature('patches');
if ($format eq 'patch') {
my ($patch_max) = gitweb_get_feature('patches');
if ($format eq 'patch') {