summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-06-14 21:38:31 -0600
committerBrian Paul <[email protected]>2017-06-15 13:53:00 -0600
commitc2e00c29b74e13ecb26ef8345bef55293a342c65 (patch)
tree66539f5d74dbd838cc2bdd49019d08ff291b871d /src/amd
parent7029ec05e2c7cb9f9fe34070161be7d190a7581e (diff)
automake: increase the MESA_GIT_SHA1 hash id length from 7 to 10 digits
The SCons build has been using 10 digits of the git hash id for the MESA_GIT_SHA1 string in git_sha1.h for about a year now. I bumped it up after running into a case where a 7-digit hash ID was ambiguous. This patch makes the same change for the autotools build. The command "git log | grep "^commit" | cut -b 8-14 | sort | uniq -d" shows there are currently 17 cases where 7 digits of hash id are ambiguous on master (probably quite a few more if we'd consider other branches). Instead of using "git log -n 1 --oneline" use "git rev-parse --short=10 HEAD" to get the HEAD hash id. v2: use printf instead of sed, per Eric's suggestion. Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/amd')
0 files changed, 0 insertions, 0 deletions