Creates a new object id reference.
The reference will be created in the repository and written to the disk. The returned value must be freed with unref .
this |
a Repository. |
name |
the name for the new Ref. |
oid |
the OId pointed to by the reference. |
log_message |
The one line long message to be appended to the reflog. |
the newly created reference. |