status() hangs + never returns on repository with hundreds of untracked files.
benhylak opened this issue · 2 comments
git status from cli returns instantly.
const customStatus = await git.customBinary('git').raw([
'status',
'--short'
]);
this also returns instantly, but adding the ignored flag causes it to hang indefinitely again.
any pointers to solving this?
When you add ignored on the command line, how many files are returned?
The parsers currently buffer all content to be manipulated once the git command has completed, so it could be down to memory usage if you have a really large node_modules directory ignored for example.
This issue has been automatically closed due to a lack of response. If your problem persists please open a new issue including any additional detail requested from this issue. For more detail on the issues/pull requests see ISSUES_AND_PULL_REQUESTS