microsoft / microsoft/SPTAG

git clone SPTAG repo fails in PowerShell

Open
#438 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
5k
Forks
622
Avg merge
8h 37m
Merged PRs (30d)
5

Description

Running
git clone --recurse-submodules https://github.com/microsoft/SPTAG

It ends with an error

.....
Submodule path 'ThirdParty/spdk/ocf': checked out '4477cb55a0bcd313a5ebcfdf877ca76a31695df7'
error: invalid path 'python/xnvme-core/aux/patch_ctypes_bindings.py'
fatal: Unable to checkout '59cca28a61ae3154ba1731ca2ee7daa402ec5e2e' in submodule path 'ThirdParty/spdk/xnvme'
fatal: Failed to recurse into submodule path 'ThirdParty/spdk'

My git version is git version 2.52.0.windows.1

Interesting that cloning under WSL succeeds.
git version 2.43.0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the command git clone --recurse-submodules https://github.com/microsoft/SPTAG with Git 2.52.0 on Windows. Inspect the ThirdParty/spdk/xnvme submodule and the reported python/xnvme-core/aux/patch_ctypes_bindings.py path, then compare the behavior with the stated WSL result. Done means the repository and its submodules can be checked out successfully in PowerShell.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, powershell
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.