]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/checkout.c
checkout: split options[] array in three pieces
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 29 Mar 2019 10:39:04 +0000 (17:39 +0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Apr 2019 04:56:59 +0000 (13:56 +0900)
commit208718227207480b0f58e35e045e36ed36a59205
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