Skip to content

Commit 3b8cef6

Browse files
committed
tools/get_release_contributors: Avoid losing merge commit info
Weblate places some authorship information in merge commits only. This commit ensures that merge commits are considered as well.
1 parent 937639f commit 3b8cef6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/get_release_contributors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def find_contributors(git_log_selector, from_, to):
208208
"""
209209
contributors = set()
210210
co_author_keys = set()
211-
commits = subprocess.check_output(['git', 'log', '-z', '--format=format:%H %an <%ae>%n%b', '%s..%s' % (from_, to), '--'] + git_log_selector)
211+
commits = subprocess.check_output(['git', 'log', '-z', '--show-pulls', '--format=format:%H %an <%ae>%n%b', '%s..%s' % (from_, to), '--'] + git_log_selector)
212212
commits = commits.decode(CHARSET)
213213
for commit in commits.split('\0'):
214214
if not commit:

0 commit comments

Comments
 (0)