Thread (1 message) 1 message, 1 author, 2022-02-10

Re: [PATCH 2/8] submodule: store new submodule commits oid_array in a struct

From: Junio C Hamano <hidden>
Date: 2022-02-10 22:05:57

Jonathan Tan [off-list ref] writes:
Glen Choo [off-list ref] writes:
quoted
+/*
+ * Holds relevant information for a changed submodule. Used as the .util
+ * member of the changed submodule string_list_item.
+ */
+struct changed_submodule_data {
+	/* The submodule commits that have changed in the rev walk. */
+	struct oid_array *new_commits;
+};
Overall this change is straightforward and looks good, except that I
think that the struct oid_array can be embedded directly instead of
through a pointer.
True.

I am a bit behind and haven't seen the simplicity 1/8 promised to
bring to us, but hopefully we'll see soon enough why 1/8 is a good
idea.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help