checkout: constify parameters of checkout_stage() and checkout_merged()
commitce25e4c78d38d88233f9b77ca8603c0bce74e8f1
authorRené Scharfe <l.s.r@web.de>
Tue, 13 Sep 2016 17:11:52 +0000 (13 19:11 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Sep 2016 23:12:28 +0000 (13 16:12 -0700)
treeb3b704d36651b4d81725ee6f1201c590dfacf0f1
parent0b65a8dbdb38962e700ee16776a3042beb489060
checkout: constify parameters of checkout_stage() and checkout_merged()

Document the fact that checkout_stage() and checkout_merged() don't
change the objects passed to them by adding the modifier const.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c