spack/lib/spack
Oliver Breitwieser 1cff717ca8 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
2020-05-04 14:39:25 -07:00
..
docs prefix gets removed when adding additional configure options (#16335) 2020-04-29 10:52:23 -05:00
env compiler wrappers: don't override -isystem with -I (#16077) 2020-04-21 13:56:50 -07:00
external Vendoring: remove dependency on Setuptools from vendored pytest (#15612) 2020-03-23 16:55:07 -07:00
llnl spack install terminal output handling in foreground/background (#15723) 2020-04-15 12:47:41 -07:00
spack Fix git-related commands not working in worktrees 2020-05-04 14:39:25 -07:00