Skip to content

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

Closed

Description

@devnetf

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.

Activity

  1. modified the milestone: v0.3.5 - bugfixes on Nov 19, 2014
  2. Byron commented on Nov 19, 2014

    @Byron
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions