t / t4252 / file-1-0on commit write_entry(): separate two helper functions out (fd5db55)
   11
   22
   33
   44
   55
   66
   77