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

Re: [PATCH 0/3] push only submodules

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 19, 2016, 18:41 UTC
Message-ID
<xmqqd1gnpxr7.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<1482171933-180601-1-git-send-email-bmwill@google.com>
Brandon Williams <bmwill@google.com> writes:
> This series teaches 'git push' to be able to only push submodules
> while leaving a superproject unpushed.
> ...
>  builtin/push.c                 |  2 ++

My knee-jerk reaction is "why is this even part of 'git push' if it does not push?"

I think "git submodule foreach git push" is probably a mouthful to say, but I am not sure "git push --recurse-submodule=only" is a short-hand that is way better than that.

Maybe I'll find why the latter is better after reading the patches through ;-)

Previous: Stefan BellerNext: Junio C Hamano
Message 6 of 7 in “push only submodules”
  1. 0/3 push only submodulesBrandon Williams, Dec 19, 2016
  2. 1/3 transport: refactor flag #defines to be more readableBrandon Williams, Dec 19, 2016
  3. 2/3 submodules: add RECURSE_SUBMODULES_ONLY valueBrandon Williams, Dec 19, 2016
  4. 3/3 push: add option to push only submodulesBrandon Williams, Dec 19, 2016
  5. Stefan BellerDec 19, 2016
  6. Junio C HamanoDec 19, 2016
  7. Junio C HamanoDec 20, 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.