Difference between revisions of "Template:Git log"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(remove "else" for {{#if: statements as they are optional)
(avoid using {{#if: inside a link, just pass empty hp=)
Line 1: Line 1:
For the complete list of changes in this release, see [http://git.openvz.org/?p={{{1}}};a=log;h={{{2}}}{{#if: {{{4|}}} |;hp={{{4}}}}} git changelog for {{{3|{{{1}}}}}} {{{2}}} {{#if: {{{4|}}}| to {{{4}}}}}].<noinclude>
+
For the complete list of changes in this release, see [http://git.openvz.org/?p={{{1}}};a=log;h={{{2}}};hp={{{4|}}} git changelog for {{{3|{{{1}}}}}} {{{2}}} {{#if: {{{4|}}}| to {{{4}}}}}].<noinclude>
  
 
== Usage ==
 
== Usage ==

Revision as of 22:16, 16 April 2015

For the complete list of changes in this release, see git changelog for {{{1}}} {{{2}}} .

Usage

{{Git log|repo|tag[|name][|prevtag]}}

Where

repo
name of git repository on git.openvz.org
tag
A git tag
name
Optional name, for example kernel. Defaults to repo if not set.
prevtag
Optional previous tag. In case it is set, a link to a log between tag and prevtag will be shown.

Examples

Note that there is a special Template:Kernel git log for kernel, a bit easier to use.

Code Result
{{git log|kernel-2.6.18-openvz|028stab050|2.6.18}}
For the complete list of changes in this release, see git changelog for kernel 028stab050.
{{git log|vzctl|3.0.22}}
For the complete list of changes in this release, see git changelog for vzctl 3.0.22.
{{git log|ploop|1.13.1||1.13}}
For the complete list of changes in this release, see git changelog for 1.13.1.

See also