Repository.CreateBlobFromBuffer panics on empty buffer #106
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#106
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?
Hi, when I call
Repository.CreateBlobFromBuffer
with an empty buffer as argument, I get the following trace:I'm building from
ce7a12da68
Just updated to
213a1bc876
, the problem is still there.Sorry for being obvious
data
is empty here...It looks like we go won't let us access the zeroth element of an empty slice... time for an
if
I suppose.