t / t5100 / patch0007on commit write_entry(): separate two helper functions out (fd5db55)
   1