bin/get-pick-list.sh: tweak the commit sha matching pattern
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 8 Nov 2018 15:05:17 +0000 (15:05 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 15 Nov 2018 15:55:36 +0000 (15:55 +0000)
commit533fead4236459c3f04700ff130ffaee1503cb69
treefab0e2d92fe144087c80cfaa32aa2e35e4e694f5
parent181203f3c5e9c6b3e95e0b93ad3b22630c3c0437
bin/get-pick-list.sh: tweak the commit sha matching pattern

Currently we match on:
 - any arbitrary length of,
 - any a-z A-Z and 0-9 characters

At the same time, a commit sha consists of lowercase hexadecimal
numbers. Any sha shorter than 8 characters is ambiguous - in some cases
even 11+ are required.

So change the pattern to a-f0-9 and adjust the length to 8-40.

As we're here we could use a single grep, instead of the grep/sed combo.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
bin/get-pick-list.sh