checkout: split options[] array in three pieces
commit208718227207480b0f58e35e045e36ed36a59205
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 29 Mar 2019 10:39:04 +0000 (29 17:39 +0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Apr 2019 04:56:59 +0000 (2 13:56 +0900)
tree0a79f4b7e5bac50b7fbab27f6aafd316a0a2cf5a
parent55cf704a9d139bca0cb5cca1bf047eb043e13bd2
checkout: split options[] array in three pieces

This is a preparation step for introducing new commands that do parts
of what checkout does. There will be two new commands, one is about
switching branches, detaching HEAD... one about checking out
paths. These share the a subset of command line options. The rest of
command line options are separate.

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
parse-options-cb.c
parse-options.h