Problem
On full index under Windows there is an error after step 5: The filename, directory name, or volume label syntax is incorrect.
Example output:
[1/9] Building file structure
Extracting: N/N files (100%)
[2/9] Extracting definitions
[3/9] Building registry
[4/9] Resolving calls & edges
[5/9] Detecting tests
The filename, directory name, or volume label syntax is incorrect.
[7/9] Analyzing git history
[8/9] Linking config files
[9/9] Writing database
Reason
Between [5/9] and [7/9], the pipeline runs run_githistory(). In src/pipeline/pass_githistory.c the non-libgit2 fallback builds a POSIX command:
"cd '%s' && git log --name-only --pretty=format:COMMIT:%%H "
"--since='1 year ago' --max-count=10000 2>/dev/null"
cbm_popen on Windows is _popen → cmd.exe /c. cmd.exe rejects the single-quoted forward-slash path and /dev/null, prints The filename, directory name, or volume label syntax is incorrect. to stderr, and returns nonzero
Problem
On full index under Windows there is an error after step 5:
The filename, directory name, or volume label syntax is incorrect.Example output:
Reason
Between [5/9] and [7/9], the pipeline runs
run_githistory(). Insrc/pipeline/pass_githistory.cthe non-libgit2 fallback builds a POSIX command:cbm_popenon Windows is_popen→cmd.exe /c.cmd.exerejects the single-quoted forward-slash path and/dev/null, printsThe filename, directory name, or volume label syntax is incorrect.to stderr, and returns nonzero