FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Remote.prototype.pushUrl() Segmentation fault: 11 and Remote.prototype.setPushUrl(url) not working ? · Issue #109 · nodegit/nodegit · GitHub

Repository navigation

Remote.prototype.pushUrl() Segmentation fault: 11 and Remote.prototype.setPushUrl(url) not working ? #109

Description

So trying to change the push url after a clone:

var remote = repo.getRemote('origin');
remote.pushUrl(); <===== Seg Fault 
remote.setPushUrl(pushUrl); <===== git remote -v does not show the update

am I using this right ?

Thanks,
Did

Activity

nkallen commented on Oct 28, 2013

Contributor

Hi,

Sorry I'm a bit busy this week and can't get to this quickly. Can you please provide a gdb backtrace of the segfault? That will help debug.

Secondly, I'm pretty sure you have to call save() or something like it after setPushUrl()

tbranyen commented on Oct 24, 2014

Member

Verified this bug is still relevant. We will address ASAP.

johnhaley81 commented on Oct 25, 2014

Collaborator

This is fixed in PR 252

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


      Back | FazBrowse Home | New Git URL