t / t4252 / file-2-0on commit write_entry(): cleanup of some duplicated code (4857c76)
   11
   22
   33
   44
   55
   66
   77