test/lib/aux.sh interferes with submodule checkout on Windows
I'm the primary maintainer of Microsoft's C++ Standard Library implementation. MSVC regularly builds popular open-source projects with development versions of its compiler and libraries to detect and prevent regressions before they ship and cause trouble for the open-source community. One of the projects we build is OSQuery, which uses lvm2 as a submodule (at https://github.com/osquery/osquery/tree/master/libraries/cmake/source/libdevmapper ).
Although (as I understand it) this lvm2 submodule isn't used on Windows, its mere presence is a problem for cloning OSQuery with its submodules, because of how lvm2 contains a file named test/lib/aux.sh. When cloned directly, this fails with:
D:\GitHub>git clone https://gitlab.com/lvmteam/lvm2.git
Cloning into 'lvm2'...
[...snip...]
Resolving deltas: 100% (117325/117325), done.
error: invalid path 'test/lib/aux.sh'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
I know that you don't target Windows, and that our filesystem limitation of "nothing named aux" is a hilarious relic of the past. However, if this is only a test script, would it be possible to rename this to something else, to avoid interfering with this "submodule of another project that does target Windows" scenario?