refs.c: pass the ref log message to _create/delete/update instead of _commit