bin/get-fixes-pick-list.sh: better identify multiple "fixes:" tags
authorAndres Gomez <agomez@igalia.com>
Sat, 13 May 2017 00:11:08 +0000 (03:11 +0300)
committerAndres Gomez <agomez@igalia.com>
Thu, 15 Jun 2017 12:53:21 +0000 (15:53 +0300)
commit5d87667fed1bd5ab850abdfb3a10db8c8c21c330
tree3817670bd3d26081cd78e8ea1d5ccdd8a7e95d5c
parentf1590363c9abdda1db30a077257c93888a35972b
bin/get-fixes-pick-list.sh: better identify multiple "fixes:" tags

We were not considering as multiple fixes lines with:
Fixes: $sha_1, Fixes: $sha_2
Now, we split the lines so we will consider them individually, as in:
Fixes: $sha_1,
Fixes: $sha_2
Additionally, we try to get the SHA from split lines so:
Fixes:
$sha_1

Will be considered as:
Fixes: $sha_1
v2:
 - Treat empty spaces earlier in fix lines (Emil)
 - Fold 2 lines into one to gather fix commit ids (Emil)

Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Emil Velikov <emli.velikov@collabora.com>
bin/get-fixes-pick-list.sh