We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Calling repo.branch on an empty repo created with repo.init the program aborts with following message:
repo.branch
repo.init
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.
ref.oid().oid
If the repo "contains" at least one commit, the error doesnt get thrown.