Difference between revisions of "Template:Git log"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(created (mostly taken from template:kernel git log)
 
(fix param separater)
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
For the complete list of changes in this release, see [http://git.openvz.org/?p={{{1}}};a=log;h={{{2}}} git changelog for {{{3|{{{1}}}}}} {{{2}}}].<noinclude>
+
For the complete list of changes in this release, see [https://src.openvz.org/projects/OVZL/repos/{{{1}}}/commits?{{#if: {{{4|}}}|since=refs/tags/{{{4}}}&}}until=refs/tags/{{{2}}} git changelog for {{{3|{{{1}}}}}} {{{2}}}].<noinclude>
  
 
== Usage ==
 
== Usage ==
  
<pre><nowiki>{{Git log|repo|tag[|name]}}</nowiki></pre>
+
<pre><nowiki>{{Git log|repo|tag[|name][|prevtag]}}</nowiki></pre>
 
Where
 
Where
 
; repo
 
; repo
 
: name of git repository on git.openvz.org
 
: name of git repository on git.openvz.org
 
; tag
 
; tag
: A git tag.
+
: A git tag
 
; name
 
; name
: Optional name, for example 2.6.18 for linux-2.6.18-openvz. Defaults to repo if not set.
+
: 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 ===
 
=== Examples ===
 +
 +
Note that there is a special [[Template:Kernel git log]] for kernel, a bit easier to use.
  
 
{| class="wikitable"
 
{| class="wikitable"
 
! Code || Result
 
! Code || Result
 
|-
 
|-
| <pre><nowiki>{{git log|kernel-2.6.18-openvz|028stab050|2.6.18}}</nowiki></pre>
+
| <pre><nowiki>{{git log|linux-2.6.18-openvz|028stab050|2.6.18}}</nowiki></pre>
| {{git log|kernel-2.6.18-openvz|028stab050|2.6.18}}
+
| {{git log|linux-2.6.18-openvz|028stab050|kernel}}
 
|-
 
|-
| <pre><nowiki>{{git log|vzctl|3.0.22}}</nowiki></pre>
+
| <pre><nowiki>{{git log|vzctl|vzctl-3.0.22}}</nowiki></pre>
| {{git log|vzctl|3.0.22}}
+
| {{git log|vzctl|vzctl-3.0.22|}}
 +
|-
 +
| <pre><nowiki>{{git log|ploop|ploop-1.14.1||ploop-1.14}}</nowiki></pre>
 +
| {{git log|ploop|ploop-1.14.1||ploop-1.14}}
 
|-
 
|-
 
|}
 
|}
 +
 +
== See also ==
 +
* [[Template:Kernel git log]]
  
 
[[Category:Templates for download pages]]
 
[[Category:Templates for download pages]]
 
</noinclude>
 
</noinclude>

Latest revision as of 22:12, 21 September 2015

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

Usage[edit]

{{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[edit]

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

Code Result
{{git log|linux-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|vzctl-3.0.22}}
For the complete list of changes in this release, see git changelog for vzctl-3.0.22.
{{git log|ploop|ploop-1.14.1||ploop-1.14}}
For the complete list of changes in this release, see git changelog for ploop-1.14.1.

See also[edit]