Skip to content

git push stdout is empty while the command executed successfully(status=0) #125

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

Closed
devnetf opened this issue Oct 9, 2013 · 1 comment
Closed
Labels

Comments

@devnetf
Copy link

devnetf commented Oct 9, 2013

repo = Repo(...)
git = repo.git
git.push() //return empty string
git.execute(["git","push"], with_extended_output=True) //the success message is in stderr_value instead of stdout.

@Byron Byron modified the milestone: v0.3.5 - bugfixes Nov 19, 2014
@Byron Byron added the rejected label Nov 19, 2014
@Byron
Copy link
Member

Byron commented Nov 19, 2014

Actually I don't think this is a problem of git-python, as the example is using the command-line wrapper exclusively. It is very dependent on the git version running on the machine.
If you have trouble with something like repo.remotes.origin.push(), the problem would possibly be with git-python though.

@Byron Byron closed this as completed Nov 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants