schu/libgit2 — comment on commit 68038cd0d6492f2969a105a149173b1b375f648c
File:  line 0
By nulltoken:

The documentation states

> @ param update_ref If not NULL, name of the reference that will be **updated** to point to this commit.

The term "updated" leaves under the impression that the reference has to prior exist.

Maybe should we update the doc and add a clar test covering this use case (on the fly creation of a direct reference) ?