t / t5100 / msg0001on commit create_ref_entry(): extract function from add_ref() (cddc425)
   1Here is a patch from A U Thor.
   2