spack diff: allow hashes from mirrors (#41043)
This commit is contained in:
parent
96f3c76052
commit
4bd47d89db
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue