Index: git_footers.py |
diff --git a/git_footers.py b/git_footers.py |
index 6e8136b35b0f89a2abf9da85b50ed044e5d0664a..fe72e18a9f832da4d0b5a774bfd6e1d5c2fee243 100755 |
--- a/git_footers.py |
+++ b/git_footers.py |
@@ -11,10 +11,12 @@ from collections import defaultdict |
import git_common as git |
+ |
FOOTER_PATTERN = re.compile(r'^\s*([\w-]+): (.*)$') |
CHROME_COMMIT_POSITION_PATTERN = re.compile(r'^([\w/-]+)@{#(\d+)}$') |
GIT_SVN_ID_PATTERN = re.compile('^([^\s@]+)@(\d+)') |
+ |
def normalize_name(header): |
return '-'.join([ word.title() for word in header.strip().split('-') ]) |