[PATCH v2] imap-send: Use parse options API to determine verbosity

2014-11-05 Thread Bernhard Reiter
Signed-off-by: Bernhard Reiter ock...@raz.or.at --- In reply to xmqqk339ibal@gitster.dls.corp.google.com. Thanks for bearing with me. I should've given the corresponding verbosity values more thought myself in the first place. Documentation/git-imap-send.txt | 14 +- imap-send.c

Re: [PATCH v2] imap-send: Use parse options API to determine verbosity

2014-11-05 Thread Junio C Hamano
Bernhard Reiter ock...@raz.or.at writes: Signed-off-by: Bernhard Reiter ock...@raz.or.at --- In reply to xmqqk339ibal@gitster.dls.corp.google.com. Thanks for bearing with me. I should've given the corresponding verbosity values more thought myself in the first place. The original

Re: [PATCH v2] imap-send: Use parse options API to determine verbosity

2014-11-05 Thread Junio C Hamano
Junio C Hamano gits...@pobox.com writes: Thanks. This version looks more sensible. -if (argc != 1) -usage(imap_send_usage); - setup_git_directory_gently(nongit_ok); git_imap_config(); + argc = parse_options(argc, (const char **)argv, , imap_send_options,