GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitPython not returning error · Issue #271 · gitpython-developers/GitPython

GitPython not returning error #271

New issue
Copy link
New issue
Copy link
Closed
Closed
GitPython not returning error#271
Copy link
Assignees
Byron
Labels
acknowledged
Milestone
v0.3.7 - Fixes

Description

@tardis4500
tardis4500
opened on Mar 20, 2015
Issue body actions

When I run the command from the command line
git push -u --all origin
it fails with
remote: import failed: User not permitted to commit
and exit code of 1.

But doing the same thing programmatically in GitPython does not show any error at all even though I can see the push was unsuccessful because the changes were not pushed.

Activity

  1. Byron
    added
    acknowledged
    on Mar 20, 2015
  2. Byron
    added this to the v0.3.7 - Fixes milestone on Mar 20, 2015
  3. Byron commented on Mar 20, 2015

    @Byron
    Byron
    on Mar 20, 2015
    Member
    More actions

    I believe to have found the source of this issue: For some reason, it will only treat exit code 128 as error, as can be seen here.

    This should probably just re-raise - at least I can't see why there is this kind of special treatment.

  4. Byron
    self-assigned this
    on Apr 8, 2015
  5. Byron
    added a commit that references this issue on Apr 8, 2015

    fix(docs): be clear about exit code handling

    723f100
  6. Byron
    closed this as completedin e9f8f15on Apr 8, 2015
  7. Byron commented on Apr 8, 2015

    @Byron
    Byron
    on Apr 8, 2015
    Member
    More actions

    You can watch the development stream on youtube.

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

Metadata

Metadata

Assignees

  • @Byron
    Byron

Labels

acknowledged

Type

No type

Projects

No projects

    Milestone

    • v0.3.7 - Fixes

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.