write_entry(): cleanup of some duplicated code
[git] / t / t5100 / msg0013