Yes, it is. Also, I tested what would happen when the lock fails. I tried to
lock an already locked ref, and it died printing the message
die("unable to create '%s.lock': %s", path, strerror(errno)); from
lockfile.c. I think this is interesting. There are other failing
reasons that could
Thank you. Also in builtin-update-ref.c the main function could return
directly that value returned from the call to update_ref().
-