Thread (2 messages) 2 messages, 2 authors, 2022-02-28

Re: [PATCH v2 1/8] fetch-negotiator: add specific noop initializor

From: Robert Coup <hidden>
Date: 2022-02-28 12:23:08

Possibly related (same subject, not in this thread)

Hi,

On Fri, 25 Feb 2022 at 06:19, Junio C Hamano [off-list ref] wrote:
quoted
Add a specific initializor for the noop fetch negotiator. This is
"initializer"?
Thanks. A poor translation effort to American English ;-)
quoted
+
+void fetch_negotiator_init_noop(struct fetch_negotiator *negotiator)
+{
+     noop_negotiator_init(negotiator);
+}
Puzzling.  What makes this better than allowing noop-negotiator-init
to be called directly?
Is simply for naming/API consistency with the regular method. Happy to
call noop_negotiator_init() if you prefer?

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