Skip to content
Snippets Groups Projects
Commit 533fead4 authored by Emil Velikov's avatar Emil Velikov
Browse files

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: default avatarJuan A. Suarez <jasuarez@igalia.com>
Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
parent 181203f3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment