Calling repo.branch on an empty repo created with repo.init the program aborts with following message:
node: ../../src/refs.c:1067: git_reference_oid: Assertion `ref' failed.
Aborted
I tracked the bug down to repo.js line 37 ref.oid().oid.
If the repo "contains" at least one commit, the error doesnt get thrown.
Reactions are currently unavailable
Calling repo.branch on an empty repo created with repo.init the program aborts with following message:
I tracked the bug down to repo.js line 37 ref.oid().oid.
If the repo "contains" at least one commit, the error doesnt get thrown.