diff --git a/progit/hooks/files/progit_hook.py b/progit/hooks/files/progit_hook.py index a58daea..21b2824 100644 --- a/progit/hooks/files/progit_hook.py +++ b/progit/hooks/files/progit_hook.py @@ -33,7 +33,7 @@ RELATES = [ re.compile('.*\s+relate[sd]?:?\s?#(\d+)', re.I), re.compile( 'relate[sd]?:?\s?(?:to)?\s?https?://.*/(\w+)/issue/(\d+)', re.I), - re.compile('.*\s+relate[sd]?:?\s?https?://.*/(\w+)/issue/(\d+)', re.I), + re.compile('.*\s+relate[sd]?:?\s?(?:to)?\s?https?://.*/(\w+)/issue/(\d+)', re.I), ]