Ævar Arnfjörð Bjarmason
13d9fcec29
commit-graph: stop using optname()
...
Stop using optname() in builtin/commit-graph.c to emit an error with
the --max-new-filters option. This changes code added in 809e0327f5
(builtin/commit-graph.c: introduce '--max-new-filters=<n>',
2020-09-18).
See 9440b831ad (parse-options: replace opterror() with optname(),
2018-11-10) for why using optname() like this is considered bad,
i.e. it's assembling human-readable output piecemeal, and the "option
`X'" at the start can't be translated.
It didn't matter in this case, but this code was also buggy in its use
of "opt->flags" to optname(), that function expects flags, but not
*those* flags.
Let's pass "max-new-filters" to the new error because the option name
isn't translatable, and because we can re-use a translation added in
f7e68a0878 (parse-options: check empty value in OPT_INTEGER and
OPT_ABBREV, 2019-05-29).
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2021-10-08 14:13:11 -07:00
..
2021-09-20 15:20:44 -07:00
2021-09-23 13:44:45 -07:00
2020-07-30 19:18:06 -07:00
2021-08-25 14:39:08 -07:00
2021-09-13 13:37:39 -07:00
2021-10-08 14:13:11 -07:00
2021-08-27 15:11:18 -07:00
2021-08-25 14:39:08 -07:00
2021-09-07 10:59:23 -07:00
2021-06-04 07:50:26 +09:00
2021-07-01 12:32:22 -07:00
2021-01-12 14:04:42 -08:00
2021-06-15 12:07:56 +09:00
2021-05-16 21:05:23 +09:00
2021-09-10 11:46:29 -07:00
2021-07-01 12:32:22 -07:00
2021-09-20 15:20:43 -07:00
2021-08-26 14:36:27 -07:00
2021-10-08 14:13:11 -07:00
2021-08-25 14:39:08 -07:00
2021-09-10 11:46:29 -07:00
2021-04-19 14:16:59 -07:00
2021-03-15 14:32:51 -07:00
2021-09-14 09:30:54 -07:00
2021-07-26 12:17:16 -07:00
2020-10-16 12:30:45 -07:00
2021-04-27 16:31:39 +09:00
2021-02-25 16:43:30 -08:00
2021-09-07 11:11:35 -07:00
2021-02-25 16:43:30 -08:00
2021-07-28 13:17:59 -07:00
2021-09-12 23:27:38 -07:00
2020-09-30 12:53:47 -07:00
2021-09-10 11:46:27 -07:00
2021-04-27 16:31:38 +09:00
2021-02-05 13:49:54 -08:00
2021-09-20 15:20:45 -07:00
2020-03-24 15:04:43 -07:00
2021-05-07 12:47:41 +09:00
2021-07-26 12:19:20 -07:00
2021-06-02 07:34:27 +09:00
2021-09-23 13:44:46 -07:00
2021-09-08 11:48:05 -07:00
2021-09-15 13:15:28 -07:00
2021-09-14 10:04:08 -07:00
2021-09-23 13:44:50 -07:00
2021-05-25 16:21:20 +09:00
2020-04-28 10:47:10 -07:00
2021-08-05 09:37:28 -07:00
2021-07-01 12:32:22 -07:00
2021-08-24 14:47:07 -07:00
2021-03-20 16:09:26 -07:00
2021-05-10 15:06:22 +09:00
2021-08-25 14:39:08 -07:00
2021-04-14 13:47:21 -07:00
2021-06-09 09:15:58 +09:00
2021-05-11 12:47:31 +09:00
2021-09-20 15:20:45 -07:00
2021-03-28 19:03:10 -07:00
2021-06-09 09:15:58 +09:00
2021-09-20 15:20:39 -07:00
2021-07-26 12:19:20 -07:00
2021-01-28 12:03:26 -08:00
2021-08-25 14:39:08 -07:00
2021-09-20 15:20:42 -07:00
2021-04-27 16:31:38 +09:00
2020-03-24 15:04:44 -07:00
2020-05-13 12:19:18 -07:00
2021-09-20 15:20:45 -07:00
2021-08-25 12:07:52 -07:00
2021-03-29 14:06:08 -07:00
2020-04-28 10:47:10 -07:00
2021-09-20 15:20:45 -07:00
2021-09-20 15:20:45 -07:00
2021-02-11 09:21:52 -08:00
2020-07-28 15:02:18 -07:00
2021-04-07 16:54:08 -07:00
2021-09-20 15:20:42 -07:00
2021-08-25 12:07:52 -07:00
2021-05-11 12:47:31 +09:00
2021-08-25 12:07:52 -07:00
2021-07-12 10:12:31 -07:00
2021-05-17 18:39:53 +09:00
2021-09-20 15:20:45 -07:00
2021-08-25 12:07:52 -07:00
2021-07-15 11:58:52 -07:00
2021-10-08 14:13:11 -07:00
2021-08-27 14:12:15 -07:00
2021-04-27 16:31:39 +09:00
2021-01-21 15:51:31 -08:00
2021-09-07 22:41:10 -07:00
2021-07-16 17:42:53 -07:00
2021-09-23 13:44:49 -07:00
2021-03-14 15:57:59 -07:00
2021-09-08 13:30:32 -07:00
2021-04-27 16:31:39 +09:00
2021-08-25 14:39:08 -07:00
2021-09-03 11:35:15 -07:00
2020-07-30 19:18:06 -07:00
2021-08-05 08:59:37 -07:00
2020-08-11 18:04:11 -07:00
2021-07-15 13:30:59 -07:00