diff options
| author | Jeff King <peff@peff.net> | 2023-08-31 17:17:33 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-08-31 15:07:10 -0700 |
| commit | 3ccb4c55adc36793ec34f6f9f2235a695df7d0a5 (patch) | |
| tree | fd7e48e3aa60e622a8e76ce879e013676e9102bb /commit-graph.c | |
| parent | merge: simplify parsing of "-n" option (diff) | |
| download | git-3ccb4c55adc36793ec34f6f9f2235a695df7d0a5.tar.gz git-3ccb4c55adc36793ec34f6f9f2235a695df7d0a5.zip | |
format-patch: use OPT_STRING_LIST for to/cc options
The to_callback() and cc_callback() functions are identical to the
generic parse_opt_string_list() function (except that they don't handle
optional arguments, but that's OK because their callers do not use the
OPTARG flag).
Let's simplify the code by using OPT_STRING_LIST.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions
