checkout: make "opts" in cmd_checkout() a pointer
commitb3edccb967ab4531e6a5fd20610a3be93be01c70
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 29 Mar 2019 10:39:02 +0000 (29 17:39 +0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Apr 2019 04:56:59 +0000 (2 13:56 +0900)
tree6e57cae872ed7c7878a432b71d3afd7062322878
parent7ab4ad00ccb572574a6dfc73abfb3d5b724ab64e
checkout: make "opts" in cmd_checkout() a pointer

"opts" will soon be moved out of cmd_checkout(). To keep changes in
that patch smaller, convert "opts" to a pointer and keep the real
thing behind "real_opts".

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