init-db: move writing repo version into a function
[git] / t / t5100 / patch0013