git/list[1] front-page[2] threads[3] people[4] search[5] about
wed 2026-10-07 17:04 UTC

Re: [PATCH v2] submodule: fetch missing objects from default remote

From
Nasser Grainawi <nasser.grainawi@oss.qualcomm.com>
Date
Jan 21, 2026, 00:48 UTC
Message-ID
<CAFcKa=9jRS2-6wdhUaV0riFNaM+WB60BMho3pYQs_YXU2EvB6Q@mail.gmail.com>
In-Reply-To
<20260114194815.1049888-1-nasser.grainawi@oss.qualcomm.com>

On Wed, Jan 14, 2026 at 12:48 PM Nasser Grainawi <nasser.grainawi@oss.qualcomm.com> wrote:

>
> Signed-off-by: Nasser Grainawi <nasser.grainawi@oss.qualcomm.com>
I realized I missed adding Jacob's Reviewed-by.
Reviewed-by: Jacob Keller <jacob.keller@gmail.com>
Show 17 quoted lines
> diff --git a/t/t5572-pull-submodule.sh b/t/t5572-pull-submodule.sh
> index 45f384dd32..868dd6d130 100755
> --- a/t/t5572-pull-submodule.sh
> +++ b/t/t5572-pull-submodule.sh
> @@ -257,7 +257,26 @@ test_expect_success 'fetch submodule remote of different name from superproject'
>         git -C a-submodule reset --hard HEAD^^ &&
>
>         git -C child pull --no-recurse-submodules &&
> -       git -C child submodule update
> +       git -C child submodule update &&
> +       test_path_is_file child/a-submodule/moreecho.t
> +'
> +
> +test_expect_success 'fetch submodule remote of different non-origin name from superproject' '
> +       git -C child/a-submodule remote rename origin o2 &&
> +
> +       # Create commit that's unreachable from current master branch

The single quote in this comment is breaking the test. Sorry I didn't re-run the tests before sending the patch. I'll wait for any other comments and otherwise include this fix in a v3 tomorrow.

> diff --git a/t/t7425-submodule-get-default-remote.sh b/t/t7425-submodule-get-default-remote.sh

FYI, this test name conflicts with the new test added in topic ar/submodule-gitdir-tweak (they both use t7425). Renaming this test to 't7426-...' and updating the name in t/meson.build is sufficient to have all tests passing with 'seen'.

Previous: Ben KnobleNext: Nasser Grainawi
Message 11 of 36 in “Fetch missing submodule objects from default remote”
  1. Fetch missing submodule objects from default remoteNasser Grainawi, Jan 12, 2026
  2. Jacob KellerJan 13, 2026
  3. Ben KnobleJan 13, 2026
  4. Nasser GrainawiJan 13, 2026
  5. D. Ben KnobleJan 14, 2026
  6. Junio C HamanoJan 14, 2026
  7. Junio C HamanoJan 14, 2026
  8. Nasser GrainawiJan 14, 2026
  9. submodule: fetch missing objects from default remoteNasser Grainawi, Jan 14, 2026
  10. Ben KnobleJan 14, 2026
  11. Nasser GrainawiJan 21, 2026
  12. submodule: fetch missing objects from default remoteNasser Grainawi, Jan 22, 2026
  13. Junio C HamanoJan 22, 2026
  14. Jacob KellerJan 22, 2026
  15. Junio C HamanoJan 22, 2026
  16. Junio C HamanoJan 22, 2026
  17. Junio C HamanoJan 23, 2026
  18. Junio C HamanoJan 24, 2026
  19. Junio C HamanoFeb 20, 2026
  20. Junio C HamanoFeb 25, 2026
  21. Nasser GrainawiFeb 27, 2026
  22. Nasser GrainawiFeb 27, 2026
  23. submodule: fetch missing objects from default remoteNasser Grainawi, Mar 1, 2026
  24. Jacob KellerMar 2, 2026
  25. Jacob KellerMar 2, 2026
  26. Junio C HamanoMar 2, 2026
  27. Junio C HamanoMar 3, 2026
  28. Nasser GrainawiMar 3, 2026
  29. Nasser GrainawiMar 3, 2026
  30. Junio C HamanoMar 3, 2026
  31. submodule: fetch missing objects from default remoteNasser Grainawi, Mar 3, 2026
  32. Ramsay JonesMar 3, 2026
  33. Junio C HamanoMar 3, 2026
  34. Nasser GrainawiMar 3, 2026
  35. submodule: fetch missing objects from default remoteNasser Grainawi, Mar 3, 2026
  36. Junio C HamanoMar 9, 2026

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.