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

Re: Submodules as first class citizens (was Re: Moving to subtrees for plugins?)

From
Heiko Voigt <hvoigt@hvoigt.net>
Date
Jun 15, 2015, 09:03 UTC
Message-ID
<20150615090354.GA8048@book.hvoigt.net>
In-Reply-To
<5577330E.3060803@web.de>
On Tue, Jun 09, 2015 at 08:40:14PM +0200, Jens Lehmann wrote:
Show 13 quoted lines
> Am 07.06.2015 um 08:26 schrieb Stefan Beller:
> >On 06.06.2015 12:53, Luca Milanesio wrote:
> >>>On 6 Jun 2015, at 18:49, Phil Hord <phil.hord@gmail.com> wrote:
> >>>On Fri, Jun 5, 2015, 2:58 AM lucamilanesio <luca.milanesio@gmail.com> wrote:
> >>>>Ideally, as a "git clone --recursive" already exists, I would like to
> >>>>see a "git diff --recursive" that goes through the submodules as well :-)
> >>>>
> >>>>Something possibly to propose to the Git mailing list?
> 
> Such an option makes lots of sense to me (though "--recurse-submodules"
> should be its name for consistency reasons). This could be an alias for
> "--submodule=full", as the "--submodule" option controls the format of
> submodule diffs.

BTW, for long running topics (or low hanging fruits) we collect/link everything in the wiki of Jens git fork on github. This is the central page:

https://github.com/jlehmann/git-submod-enhancements/wiki

Maybe everyone that has work in the queue can add his work there (the work that takes more time) so we can avoid doubling any effort. Not everything there is up to date at the moment but I will look into it to remove outdated things.

Show 20 quoted lines
> >>>I've worked on git diff --recursive a bit myself, along with some
> >>>simpler use cases (git ls-tree --recursive) as POCs. I think some of
> >>>the needs there begin to have ui implications which could be
> >>>high-friction. I really want to finish it someday, but I've been too
> >>>busy lately at $job, and now my experiments are all rather stale.
> >>>
> >>>It would be a good discussion to have over at the git list (copied).
> >>>Heiko and Jens have laid some new groundwork in this area and it may
> >>>be a good time to revisit it.  Or maybe they've even moved deeper than
> >>>that; I have been distracted for well over a year now.
> >>>
> >
> >Glad you're working (or planning to) working on submodulues. This is
> >also on my todo list for the next months as well.
> 
> More hands are always welcome!
> 
> >I'd review stuff in that area if you're looking for reviewers.
> 
> I'll be happy help too.
Me too.
Cheers Heiko
Previous: Jens Lehmann
Message 7 of 7 in “Submodules as first class citizens (was Re: Moving to subtrees for plugins?)”
  1. Phil HordJun 6, 2015
  2. Luca MilanesioJun 6, 2015
  3. Stefan BellerJun 7, 2015
  4. Jens LehmannJun 9, 2015
  5. Phil HordJun 11, 2015
  6. Jens LehmannJun 11, 2015
  7. Heiko VoigtJun 15, 2015

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.