t / t5100 / msg0006on commit refs.c: lock_ref_sha1_basic is used for all refs (3c93c84)
   1Here is a patch from A U Thor.
   2