aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido G√ľnther <agx@sigxcpu.org>2009-01-25 13:02:10 +0100
committerGuido G√ľnther <agx@sigxcpu.org>2009-01-25 13:02:10 +0100
commitfa3d8e86eefd45439538ade9a2732b6504e5680b (patch)
tree8b4e591351aa92321db14a99cca426cc9299d598
parentb6eb47720ccf360524cf342dcdb54505bd6cfab4 (diff)
also allow for a collon after [commitid]
Manoj uses this in newer changelog entries
-rw-r--r--htmlchangelog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/htmlchangelog.py b/htmlchangelog.py
index 19abdec..c4de291 100644
--- a/htmlchangelog.py
+++ b/htmlchangelog.py
@@ -10,7 +10,7 @@ _TEMPLATEDIR='templates/'
class HTMLChangelogFilter(object):
commit_id_res = [ re.compile(r"(?P<s>\s+\*\s+\[)" # as generated by git-dch
+r"(?P<commitid>[a-fA-F0-9]{7,40})"
- +r"(?P<e>\]\s+.*)"),
+ +r"(?P<e>\]:?\s+.*)"),
re.compile(r"(?P<s>\s+-\s+)" # drm-snapshot uses this
+r"(?P<commitid>[a-fA-F0-9]{7,40})"
+r"(?P<e>\.\.\.\s+.*)"),