You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clone fails on Windows: invalid path 'C:\Users\litecli\litecli_test.db' was committed by mistake #276
While working on a contribution (on a Windows machine), git clone of this repository failed:
$ git clone https://github.com/dbcli/litecli
error: invalid path 'C:\Users\litecli\litecli_test.db'
fatal: unable to checkout working tree
Cause: commit 78c07d3 ("Fix #245: Unable to open log file outside default directory", merged via #255) accidentally added a file literally named C:\Users\litecli\litecli_test.db - an absolute Windows path committed as a filename, presumably a stray local test database created by a test run under WSL. It's a binary SQLite file (12288 bytes).
Impact: the repository cannot be checked out on Windows at all - git clone on Git-for-Windows fails with error: invalid path and leaves a broken working tree, and operations like git reset on the resulting tree raise fatal: Invalid path 'C:/Users/litecli' (I even hit a segfault in Git-for-Windows while trying to work around it with sparse checkouts). Contribution docs suggest cloning the repo as the first step, so this affects every Windows-based contributor.
Suggested fix: remove the path from the tree, e.g.:
git rm -- 'C:\Users\litecli\litecli_test.db'
after which Windows clones work normally again.
Evidence of the blob in HEAD:
$ git ls-tree -r HEAD --name-only
"C:\Users\litecli\litecli_test.db"
I'd be happy to send a small PR removing it - filing this first so the removal is tracked separately from the feature PR I just opened (#275).
(This was found during an AI-assisted contribution session - Mistral Vibe; I verified the failure on Windows Git 2.x and that plain clones work fine on Linux.)
PR #277 removes the stray file (plus a .tox lock file committed in the same change). Verified: git clone on Git-for-Windows succeeds from that branch, while cloning main still fails with error: invalid path.
Activity
leo7martins commentedon Nov 21, 2026
PR #277 removes the stray file (plus a
.toxlock file committed in the same change). Verified:git cloneon Git-for-Windows succeeds from that branch, while cloningmainstill fails witherror: invalid path.