isomorphic-git / isomorphic-git/isomorphic-git
Large repository usage problems (too many pack files, timeout issues)
- Dominant language
- JavaScript
- Stars
- 8.4k
- Forks
- 491
- Avg merge
- 2h 53m
- Merged PRs (30d)
- 7
Description
Node v20.11.1
I use your amazing library to make a universal code editor via Electron app.
But, i have large repositories (several gigabytes) with several branches to work with, and there are several problems that blocks me from using this library with it:
1. There is no way to specify a timeout in the node http module. I had to take the source code and add a line with a timeout override.

Without it cloning a large repositories failed by timeout...
Is there a any way to make it prettier and from library API?
3. When i clone repository as singleBranch: true, i use only fetch, fast-forward and push. But my local copy accumulates a large number of large pack files, although with the same work through the console git client there are 1-2 files of several kilobytes.

So, when i'am adding small json file by several kilobytes in repository then repository grows in size by 300-500 Mb each time...
Is this correct behavior?
Please, help
Contributor guide
Assessment
This issue has not been assessed yet.