Skip to content

Commit

Permalink
make git_buildbot.py's regex more strict to avoid stripping filenames -
Browse files Browse the repository at this point in the history
fixes #1775
  • Loading branch information
djmitche committed Jan 26, 2011
1 parent d013e2c commit 85d42d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/contrib/git_buildbot.py
Expand Up @@ -214,7 +214,7 @@ def gen_update_branch_changes(oldrev, newrev, refname, branch):
if not line:
break

file = re.match(r"^:.*[MAD]\s*(.+)$", line).group(1)
file = re.match(r"^:.*[MAD]\s+(.+)$", line).group(1)
logging.debug(" Rewound file: %s" % file)
files.append(unicode(file, encoding=encoding))

Expand Down

0 comments on commit 85d42d4

Please sign in to comment.