commit | a2b4994c826b40b42f395824dcadc082df77959b | [log] [tgz] |
---|---|---|
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | Wed Aug 29 20:55:22 2012 +0700 |
committer | Junio C Hamano <gitster@pobox.com> | Wed Aug 29 11:26:07 2012 -0700 |
tree | 36ecdab92673a3e74c52fc8114497ea94687848d | |
parent | 31e0100e89c3f7c05bd7fdf54e084b2039d398ec [diff] |
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 <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>