diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-09-14 11:54:34 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-14 11:54:34 -0700 |
commit | b58f3a645bc04f3b52aa41c75a019d51b615c647 (patch) | |
tree | 264135b48c8fbcf0c1182715cb012e325ab05017 /Documentation | |
parent | Merge branch 'mh/abspath' (diff) | |
parent | checkout: reorder option handling (diff) | |
download | tgif-b58f3a645bc04f3b52aa41c75a019d51b615c647.tar.xz |
Merge branch 'nd/checkout-option-parsing-fix'
The option parsing of "git checkout" had error checking, dwim and
defaulting missing options, all mixed in the code, and issuing an
appropriate error message with useful context was getting harder.
Reorganize the code and allow giving a proper diagnosis when the
user says "git checkout -b -t foo bar" (e.g. "-t" is not a good name
for a branch).
* nd/checkout-option-parsing-fix:
checkout: reorder option handling
checkout: move more parameters to struct checkout_opts
checkout: pass "struct checkout_opts *" as const pointer
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions