|author||Ragnar Ouchterlony <email@example.com>||2009-09-14 20:19:02 +0200|
|committer||Lars Hjemli <firstname.lastname@example.org>||2009-09-16 20:17:56 +0200|
|parent||First version of side-by-side diff. (diff)|
Add possibility to switch between unidiff and side-by-side-diff.
A new config option side-by-side-diffs added, defaulting to 0, meaning unidiff. Also a query option (ss) is used toggle this. In the commit page you can switch between the two diff formats by clicking on the link on the "commit"-row, to the right of (patch). In the diff page you can switch by using the link at the start of the page. All commit-links and diff-links will remember the choice. Signed-off-by: Ragnar Ouchterlony <email@example.com> Signed-off-by: Lars Hjemli <firstname.lastname@example.org>
Diffstat (limited to '')
1 files changed, 4 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 4dc383d..252d546 100644
@@ -238,6 +238,10 @@ section::
after this option will inherit the current section name. Default value:
+ If set to "1" shows side-by-side diffs instead of unidiffs per
+ default. Default value: "0".
Text which specifies the default set of snapshot formats generated by
cgit. The value is a space-separated list of zero or more of the