spack diff: allow hashes from mirrors (#41043)

This commit is contained in:
Greg Becker 2023-11-13 13:27:52 -07:00 committed by GitHub
parent 96f3c76052
commit 4bd47d89db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -200,6 +200,8 @@ def diff(parser, args):
specs = []
for spec in spack.cmd.parse_specs(args.specs):
# If the spec has a hash, check it before disambiguating
spec.replace_hash()
if spec.concrete:
specs.append(spec)
else: