You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've migrated my code from symplify/git-wrapper to gitonomy/gitlib - unfortunately, I found a blocking issue. My code relies on the output Git produces, especially from the git push command. I learned that stdout doesn't contain any content as git push writes its output to stderr!
Unfortunately, the method Repository->run() takes stderr only into consideration if the actual process failed, which is not the case here.
The text was updated successfully, but these errors were encountered:
Git writes the output of some commands into `stderr` instead of
`stdout` (e.g. `push`). Using the option `--porcelain` doesn't always
help in such cases as other information may be missing. To get the full
output, `stderr` is now fetched in case `stdout` is empty.
Fixes: gitonomy#205
I've migrated my code from
symplify/git-wrapper
togitonomy/gitlib
- unfortunately, I found a blocking issue. My code relies on the output Git produces, especially from thegit push
command. I learned thatstdout
doesn't contain any content asgit push
writes its output tostderr
!Unfortunately, the method
Repository->run()
takesstderr
only into consideration if the actual process failed, which is not the case here.The text was updated successfully, but these errors were encountered: