Thread (13 messages) flat view 13 messages, 4 authors, 15d ago

Re: [PATCH v2] die_for_incompatible_opts(): unbounded number of options

From: Jeff King <hidden>
Date: 2026-08-29 11:15:51

On Thu, Aug 27, 2026 at 10:28:32AM -0700, Junio C Hamano wrote:
+void die_for_incompatible_opts(bool opt1, const char *opt1_name, ...)
I'm mildly negative on this, just because there's no compiler support
for making sure there is an EOF somewhere. Keeping patch 1 and using
LAST_ARG_MUST_BE_NULL would be preferable, IMHO.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help