git://git.exim.org
/
buildfarm-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a63dde6
)
Only use/replace commit string at the beginning of the log message.
author
Andrew Dunstan
<andrew@dunslane.net>
Wed, 12 Jan 2011 18:40:11 +0000
(10:40 -0800)
committer
Andrew Dunstan
<andrew@dunslane.net>
Wed, 12 Jan 2011 18:40:11 +0000
(10:40 -0800)
templates/log.tt
patch
|
blob
|
history
diff --git
a/templates/log.tt
b/templates/log.tt
index c5d275a644d26e700c072530288324c41526b5d2..43b89c413ce734394de7a2c3123916789b4d3fc6 100644
(file)
--- a/
templates/log.tt
+++ b/
templates/log.tt
@@
-26,8
+26,8
@@
See accompanying License file for license details
pagebutton = 'none'
%]
[%- BLOCK gitlog ;
- commitref = clog.replace('commit ([0-9A-Fa-f]+)(.|\n)*','$1');
- logtail = clog.replace('commit ([0-9A-Fa-f]+)','');
+ commitref = clog.replace('
^
commit ([0-9A-Fa-f]+)(.|\n)*','$1');
+ logtail = clog.replace('
^
commit ([0-9A-Fa-f]+)','');
logtail = logtail.replace('\n',' ');
%]<a href="[% giturl ; commitref %]">[% commitref %]</a>[% logtail | html %]