ENH: Print more informative error message instead of Cmd('git') failed due to: exit code(128)
#229
Labels
Cmd('git') failed due to: exit code(128)
#229
Is your feature request related to a problem? Please describe.
I love pydriller. Using it to step through all versions of a file in a large repo: https://github.com/corneliusroemer/pango-designation-dates
Things worked fine locally, but when I went to setup a Github action I got a cryptic error with a not so helpful error message:
When I ran that command
git diff-tree ...
locally, everything was fine.I needed to ssh into the Github action using tmate to run it locally, and that helped, I got an error that said
bad commit
- because I had shallow-cloned the repo using the default settings ofactions/checkout@v3
.I was wondering why the traceback pydriller provides doesn't state that more helpful error message. Would it be possible to include that somehow?
Describe the solution you'd like
Provide more useful and informative error information other than
Cmd('git') failed due to: exit code(128)
.Additional context
Here's the full traceback:
Thanks for your work developing this great tool!
The text was updated successfully, but these errors were encountered: