diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-12-01 17:32:55 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-07 14:19:32 -0800 |
commit | 979240fee32628c317998f3c3fe2619cf01decc2 (patch) | |
tree | 7bc371cf6b37aa152da3fa48f34cb1de435a711d /ident.c | |
parent | parse-options: allow git commands to invent new option types (diff) | |
download | tgif-979240fee32628c317998f3c3fe2619cf01decc2.tar.xz |
parse-options: make resuming easier after PARSE_OPT_STOP_AT_NON_OPTION
Introduce a PARSE_OPT_NON_OPTION state, so parse_option_step()
callers can easily distinguish between non-options and other
reasons for option parsing termination (like "--").
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ident.c')
0 files changed, 0 insertions, 0 deletions