don't require two newlines after commits
(this prevented first commit after tag to be accounted in difflog)
This commit is contained in:
parent
e2ed1b3322
commit
3c92be726a
|
@ -74,7 +74,7 @@ class CommitAndIssues:
|
|||
@classmethod
|
||||
def get_for_commits(cls, module, v1, v2):
|
||||
difflog = module.get_diff_log(v1, v2, format='full', grep=r'\#[0-9]\+')
|
||||
commits = re.findall(r'^commit.*?\n\n.*?\n\n', difflog, re.DOTALL | re.MULTILINE)
|
||||
commits = re.findall(r'^commit.*?\n\n.*?\n', difflog, re.DOTALL | re.MULTILINE)
|
||||
oneline_commits = module.get_diff_log(v1, v2, grep=r'\#[0-9]\+').splitlines()
|
||||
|
||||
objects = []
|
||||
|
|
Loading…
Reference in New Issue