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 <ragnar@lysator.liu.se> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Bu işleme şunda yer alıyor:
işlemeyi yapan:
Lars Hjemli
ebeveyn
40e174d536
işleme
c358aa3dfe
@@ -238,6 +238,10 @@ section::
|
||||
after this option will inherit the current section name. Default value:
|
||||
none.
|
||||
|
||||
side-by-side-diffs::
|
||||
If set to "1" shows side-by-side diffs instead of unidiffs per
|
||||
default. Default value: "0".
|
||||
|
||||
snapshots::
|
||||
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
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle