Clone Error The filename or extension is too long
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.8k
- Forks
- 704
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to clone repo. It was working fine but for some other repo when file name is too long it's giving below error:
error:
/DoesNotExistImageInImageIntegrationTest.java': The filename or extension is t
oo long.
errno: -4, errorFunction: 'Clone.clone
how can we set git config --system core.longpaths true through nodegit ?
Thanks,
Pravin
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Clone.clone entry point mentioned in the report and review how NodeGit exposes Git configuration during cloning. Reproduce the long-path failure described for the filename shown, then determine whether core.longpaths can be configured through the existing API. Done means the supported configuration path is implemented or clearly documented and the long-path clone behavior is verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, javascript, nodejs
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100