-
-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git.log locks when using stat or numstat #977
Comments
Hi, from the official git documentation https://git-scm.com/docs/git-log#Documentation/git-log.txt--Lltfuncnamegtltfilegt the To use I will add some tests to |
Integration test covering error reported in #977
Based on the extra commands in your snippet, I've created an integration test to cover the use of your custom I'm unable to reproduce a hang situation. Please create a failing integration test for me to look into this further. Thanks |
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 |
Using git version 2.39.3.
On a repo if I run
git log --numstat
I recieve logs with stats OK, however with simplegit, if I callawait git.log({'--numstat': null})
the code will lock.From what I can tell, it's getting all the way to run the task, and tries to execute the task:
which seems to hiccup and lock here likely due to parsing failure somewhere that goes uncaught by the promise for some reason (perhaps due to stdout still being open or something, dunno).
The text was updated successfully, but these errors were encountered: