checkout: pass "struct checkout_opts *" as const pointer
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Wed, 29 Aug 2012 13:55:22 +0000 (20:55 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 29 Aug 2012 18:26:07 +0000 (11:26 -0700)
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>
No differences found