From: Nguyễn Thái Ngọc Duy Date: Wed, 29 Aug 2012 13:55:22 +0000 (+0700) Subject: checkout: pass "struct checkout_opts *" as const pointer X-Git-Tag: v1.8.0-rc0~56^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/a2b4994c826b40b42f395824dcadc082df77959b?hp=a2b4994c826b40b42f395824dcadc082df77959b checkout: pass "struct checkout_opts *" as const pointer This struct contains various switches to system and it feels somewhat safer to have the compiler reassure us that nowhere else changes it. One field that is changed, writeout_error, is split out and passed as another argument. Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano ---