Also fetch rollup merges in fetch_prs_between.sh script

This commit is contained in:
flip1995 2019-08-28 13:53:56 +02:00
parent a939d61cf7
commit 2dc7727bcd
No known key found for this signature in database
GPG key ID: 693086869D506637

View file

@ -11,7 +11,7 @@ last=$2
IFS='
'
for pr in $(git log --oneline --grep "Merge #" --grep "Merge pull request" --grep "Auto merge of" "$first...$last" | sort -rn | uniq); do
for pr in $(git log --oneline --grep "Merge #" --grep "Merge pull request" --grep "Auto merge of" --grep "Rollup merge of" "$first...$last" | sort -rn | uniq); do
id=$(echo $pr | rg -o '#[0-9]{3,5}' | cut -c 2-)
commit=$(echo $pr | cut -d' ' -f 1)
message=$(git --no-pager show --pretty=medium $commit)