mirror of
https://git.zx2c4.com/cgit
synced 2025-07-15 12:44:34 +02:00
Merge branch 'stable'
This commit is contained in:
commit
04254fa903
9 changed files with 68 additions and 17 deletions
|
@ -395,8 +395,7 @@ void cgit_print_diff(const char *new_rev, const char *old_rev,
|
|||
}
|
||||
}
|
||||
|
||||
if ((ctx.qry.ssdiff && !ctx.cfg.ssdiff) || (!ctx.qry.ssdiff && ctx.cfg.ssdiff))
|
||||
use_ssdiff = 1;
|
||||
use_ssdiff = ctx.qry.has_ssdiff ? ctx.qry.ssdiff : ctx.cfg.ssdiff;
|
||||
|
||||
if (show_ctrls)
|
||||
cgit_print_diff_ctrls();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue