git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v3 1/4] serialize collection of changed submodules

From
Stefan Beller <sbeller@google.com>
Date
Nov 15, 2016, 22:15 UTC
Message-ID
<CAGZ79kYBf_B4ZQ7CoTt62ZR-qXhHNBEWem5K-r1eOPrUPYufrw@mail.gmail.com>
In-Reply-To
<67e11474d4fd8ada2652809cf14f6c4d96be55ff.1479221071.git.hvoigt@hvoigt.net>
On Tue, Nov 15, 2016 at 6:56 AM, Heiko Voigt <hvoigt@hvoigt.net> wrote:
Show 14 quoted lines
> @@ -560,6 +575,31 @@ static void find_unpushed_submodule_commits(struct commit *commit,
>         diff_tree_combined_merge(commit, 1, &rev);
>  }
>
> +struct collect_submodule_from_sha1s_data {
> +       char *submodule_path;
> +       struct string_list *needs_pushing;
> +};
> +
> +static int collect_submodules_from_sha1s(const unsigned char sha1[20],
> +               void *data)
> +{
> +       struct collect_submodule_from_sha1s_data *me =
> +               (struct collect_submodule_from_sha1s_data *) data;
nit: no explicit cast needed when coming from void* ?
Previous: Heiko VoigtNext: Heiko Voigt
Message 8 of 14 in “Speedup finding of unpushed submodules”
  1. 0/4 Speedup finding of unpushed submodulesHeiko Voigt, Nov 15, 2016
  2. 3/4 batch check whether submodule needs pushing into one callHeiko Voigt, Nov 15, 2016
  3. Stefan BellerNov 15, 2016
  4. Heiko VoigtNov 16, 2016
  5. 2/4 serialize collection of refs that contain submodule changesHeiko Voigt, Nov 15, 2016
  6. Stefan BellerNov 15, 2016
  7. 1/4 serialize collection of changed submodulesHeiko Voigt, Nov 15, 2016
  8. Stefan BellerNov 15, 2016
  9. 4/4 submodule_needs_pushing() NEEDSWORK when we can not answer this questionHeiko Voigt, Nov 15, 2016
  10. Stefan BellerNov 15, 2016
  11. Junio C HamanoNov 16, 2016
  12. Heiko VoigtNov 16, 2016
  13. Stefan BellerNov 15, 2016
  14. Brandon WilliamsNov 15, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.