]> git.ipfire.org Git - thirdparty/git.git/commit
checkout: make "opts" in cmd_checkout() a pointer
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 29 Mar 2019 10:39:02 +0000 (17:39 +0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Apr 2019 04:56:59 +0000 (13:56 +0900)
commitb3edccb967ab4531e6a5fd20610a3be93be01c70
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