aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2023-08-31 17:17:33 -0400
committerJunio C Hamano <gitster@pobox.com>2023-08-31 15:07:10 -0700
commit3ccb4c55adc36793ec34f6f9f2235a695df7d0a5 (patch)
treefd7e48e3aa60e622a8e76ce879e013676e9102bb /commit-graph.c
parentmerge: simplify parsing of "-n" option (diff)
downloadgit-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