diff options
author | Oliver Breitwieser <oliver.breitwieser@kip.uni-heidelberg.de> | 2019-12-04 16:37:40 +0100 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2020-05-04 14:39:25 -0700 |
commit | 1cff717ca86c031c912cf22a7e315d822ab83e46 (patch) | |
tree | 81159a9aa7f680acfc84bda51eaf296d7786e29a /LICENSE-MIT | |
parent | dea5d913db9f98870eb4bd91ba1f8276e5e47d17 (diff) | |
download | spack-1cff717ca86c031c912cf22a7e315d822ab83e46.tar.gz spack-1cff717ca86c031c912cf22a7e315d822ab83e46.tar.bz2 spack-1cff717ca86c031c912cf22a7e315d822ab83e46.tar.xz spack-1cff717ca86c031c912cf22a7e315d822ab83e46.zip |
Fix git-related commands not working in worktrees
If spack is checked out in a git worktree (see [1]), all git-related
commands fail because the `spack_is_git_repo()`-check is not thorough
enough.
When developing in a feature-branch in a seperate worktree, this is
annoying as all unittests regarding git-related spack commands fail,
cluttering the test results with false-positives.
[1]: https://git-scm.com/docs/git-worktree
Change-Id: I94b573a2c0e058e9ccc169e7ee6561626fbb06fd
Diffstat (limited to 'LICENSE-MIT')
0 files changed, 0 insertions, 0 deletions