diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-12-15 12:24:33 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-12-15 12:24:33 +0900 |
commit | bf29f074ed7019abb53398c4cd5659d9f939d9a8 (patch) | |
tree | 0980dba5e1b347ef0c2fad32cb36923dd64b83c5 /builtin/update-index.c | |
parent | Merge branch 'js/t9902-send-email-completion-fix' into maint (diff) | |
parent | parse-options: fix SunCC compiler warning (diff) | |
download | tgif-bf29f074ed7019abb53398c4cd5659d9f939d9a8.tar.xz |
Merge branch 'nd/show-gitcomp-compilation-fix' into maint
Portability fix for a recent update to parse-options API.
* nd/show-gitcomp-compilation-fix:
parse-options: fix SunCC compiler warning
Diffstat (limited to 'builtin/update-index.c')
-rw-r--r-- | builtin/update-index.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin/update-index.c b/builtin/update-index.c index 31e7cce301..e19da77edc 100644 --- a/builtin/update-index.c +++ b/builtin/update-index.c @@ -1086,6 +1086,8 @@ int cmd_update_index(int argc, const char **argv, const char *prefix) case PARSE_OPT_HELP: case PARSE_OPT_ERROR: exit(129); + case PARSE_OPT_COMPLETE: + exit(0); case PARSE_OPT_NON_OPTION: case PARSE_OPT_DONE: { |