Thread (27 messages) 27 messages, 7 authors, 2021-09-30

Re: [PATCH v2 4/5] *.h: move some *_INIT to designated initializers

flat view

From: Junio C Hamano <hidden>
Date: 2021-09-27 23:57:42

Ævar Arnfjörð Bjarmason  [off-list ref] writes:
quoted hunk ↗ jump to hunk
-#define SUBMODULE_UPDATE_STRATEGY_INIT {SM_UPDATE_UNSPECIFIED}
+#define SUBMODULE_UPDATE_STRATEGY_INIT { \
+	.type = SM_UPDATE_UNSPECIFIED, \
+}
Much better ;-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help