checkout: avoid the_index when possible
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 12 Jan 2019 02:13:25 +0000 (09:13 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 14 Jan 2019 20:13:04 +0000 (12:13 -0800)
commitfb4a8464a6d7ba643a8ebdb3ad8e1e84f0a01b0a
tree9a65d0ec65d5bf43f9b30ee405c5074a4671f57c
parent3a95f31d1cdc93fa4f926c6537f84186edd85ca9
checkout: avoid the_index when possible

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c