diff templates/gitweb/fileannotate.tmpl @ 3353:2edf53386d86

gitweb: add file diff view
author Brendan Cully <brendan@kublai.com>
date Wed, 11 Oct 2006 16:19:11 -0700
parents 36fa5db79dd5
children ce8f31e0b3b8
line wrap: on
line diff
--- a/templates/gitweb/fileannotate.tmpl	Wed Oct 11 23:31:05 2006 +0200
+++ b/templates/gitweb/fileannotate.tmpl	Wed Oct 11 16:19:11 2006 -0700
@@ -18,7 +18,9 @@
 <a href="{url}rev/#node|short#{getentries}">changeset</a> |
 <a href="{url}file/{node|short}/#file|urlescape#{getentries}">file</a> |
 <a href="{url}log/{node|short}/#file|urlescape#{getentries}">revisions</a> |
-annotate | <a href="{url}raw-annotate/{node|short}/#file|urlescape#">raw</a><br/>
+annotate |
+<a href="{url}diff/{node|short}/{file|urlescape}{getentries}">diff</a> |
+<a href="{url}raw-annotate/{node|short}/#file|urlescape#">raw</a><br/>
 </div>
 
 <div class="title">#file|escape#</div>