segmentation violation on submodule update #334
Labels
No Label
bug
duplicate
enhancement
invalid
question
up for grabs
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: jcarr/git2go#334
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm trying to add a submodule to an existing Git repository, using Git I'd do this
After searching through the documentation and scarce examples this is what I came up with
If I run this code however the program panics
Am I just doing something wrong or is this an actual bug? because I can't figure it out, no matter what I pass to the Update function gives the same result.
I suspect this has the same root cause as #373 and #356 where Go's GC decides to free the managed object before we're done with it.
This should be fixed with #393 which adds a lot more hints to the garbage collector.