git/builtin
Jeff King 1f5db32d89 tag: mark "--message" option with NONEG
We do not allow "--no-message" to work now, as the option callback
returns "-1" when it sees a NULL arg. However, that will cause
parse-options to exit(129) without printing anything further, leaving
the user confused about what happened.

Instead, let's explicitly mark it as PARSE_OPT_NONEG, which will give a
useful error message (and print the usual -h output).

In theory this could be used to override an earlier "-m", but it's not
clear how it would interact with other message options (e.g., would it
also clear data read for "-F"?). Since it's already disabled and nobody
is asking for it, let's punt on that and just improve the error message.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-11-06 12:55:36 +09:00
..
2018-10-19 13:34:02 +09:00
2018-11-06 12:55:35 +09:00
2018-08-13 14:14:43 -07:00
2018-10-30 15:43:43 +09:00
2018-08-27 14:33:43 -07:00
2018-10-19 13:34:02 +09:00
2018-05-13 10:45:05 +09:00
2018-08-15 15:08:23 -07:00
2018-08-20 15:31:40 -07:00
2018-10-19 13:34:02 +09:00
2018-10-19 13:34:02 +09:00
2018-10-19 13:34:02 +09:00
2018-10-19 13:34:02 +09:00
2018-10-19 13:34:07 +09:00
2018-10-19 13:34:02 +09:00
2018-09-17 13:49:41 -07:00
2018-10-16 16:16:02 +09:00
2018-10-19 13:34:06 +09:00
2018-10-26 14:22:13 +09:00
2018-10-19 13:34:02 +09:00
2018-10-19 13:34:02 +09:00
2018-05-30 14:04:05 +09:00
2018-07-18 12:20:28 -07:00
2018-08-20 15:31:40 -07:00
2018-10-19 13:34:02 +09:00
2018-08-27 14:33:43 -07:00
2018-10-19 13:34:02 +09:00
2018-11-02 11:04:59 +09:00
2018-10-19 13:34:02 +09:00
2018-10-19 13:34:02 +09:00
2018-10-30 15:43:39 +09:00
2018-08-29 11:32:49 -07:00
2018-08-27 14:33:43 -07:00
2018-03-15 12:01:08 -07:00
2018-05-29 00:28:22 +09:00
2018-11-06 12:55:36 +09:00
2018-10-19 13:34:02 +09:00