summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2020-08-05 17:01:18 -0700
committerGitHub <noreply@github.com>2020-08-05 17:01:18 -0700
commit9dbe1d77761eb9f98d9f18f8ff7919053c0a2b0c (patch)
treea22927f2fce254d14150c163f230bc999ddab347 /var
parentaee95fe9a95413b5e4a3843f6b9c3f940482d978 (diff)
downloadspack-9dbe1d77761eb9f98d9f18f8ff7919053c0a2b0c.tar.gz
spack-9dbe1d77761eb9f98d9f18f8ff7919053c0a2b0c.tar.bz2
spack-9dbe1d77761eb9f98d9f18f8ff7919053c0a2b0c.tar.xz
spack-9dbe1d77761eb9f98d9f18f8ff7919053c0a2b0c.zip
bugfix: fix spack -V with releases/latest and shallow clones (#17884)
`spack -V` stopped working when we added the `releases/latest` tag to track the most recent release. It started just reporting the version, even on a `develop` checkout. We need to tell it to *only* search for tags that start with `v`, so that it will ignore `releases/latest`. `spack -V` also would print out unwanted git eror output on a shallow clone. - [x] add `--match 'v*'` to `git describe` arguments - [x] route error output to `os.devnull`
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions