]> xenbits.xensource.com Git - people/larsk/xenproject-org-gitdm.git/commit
Make tag matching stricter
authorJonathan Corbet <corbet@lwn.net>
Mon, 4 Oct 2010 23:06:33 +0000 (17:06 -0600)
committerJonathan Corbet <corbet@lwn.net>
Mon, 4 Oct 2010 23:06:33 +0000 (17:06 -0600)
commitf64e9ffbd8f93d1c9d89f7e7bc6d72a6c80cb7e0
treeae45ae8b2b75e23dc9bb12fc9fdff9ab7f62afd5
parentea23ca50c0d3ba5e51a5d00c4811b99b889a521a
Make tag matching stricter

If you commit a git changelog to your repository, gitdm will be confused by
all the added patch tags.  So make the patterns stricter to force them only
to match within the git log metadata - or so we hope.  There is still room
for confusion here; we really need to make grabpatch() smart enough to
split metadata and the diff.  Don't have time for that now.

This patch changes results slightly.  In the 2.6.36 cycle, there's a tag
reading:

Original-Idea-and-Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Pre-patch gitdm would recognize that as a signoff; after the change it no
longer does.

Reported-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
gitdm
patterns.py