From: Nguyễn Thái Ngọc Duy Date: Sat, 3 Mar 2018 11:35:54 +0000 (+0700) Subject: repository: initialize the_repository in main() X-Git-Tag: v2.18.0-rc0~158^2~5 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/b2f0eceecf266e60fa95970e0973a8f23f911fb1?hp=b2f0eceecf266e60fa95970e0973a8f23f911fb1 repository: initialize the_repository in main() This simplifies initialization of struct repository and anything inside. Easier to read. Easier to add/remove fields. Everything will go through main() common-main.c so this should cover all programs, including t/helper. Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---