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

Re: [PATCH/RFC] submodule: add ability to shallowly clone any branch in a submodule

From
Jens Lehmann <jens.lehmann@web.de>
Date
Sep 13, 2014, 11:21 UTC
Message-ID
<541428D2.1080001@web.de>
In-Reply-To
<1410467134-sup-6791@Sasori.local>
Am 11.09.2014 um 22:33 schrieb Cole:
> Thanks for the feedback, really appreciate it, and will try to reformat
> the patches as you have asked.
Thanks!
> When you say you would like the patches split, do you mean into two
> separate threads, or just different patches part of the same thread?

I think you are solving a single problem here (submodule update does not work with branch and depth), so I'd propose a single thread for that topic.

> As for --no-single-branch on 'git submodule update', I didn't want to
> break existing functionality, but if you would prefer that to be the
> default I can make it so.

We should discuss if --no-single-branch should be implied when used with a branch. I believe that if one option needs another one to work, we should think about implying the latter. But might be wrong on that with regards to --no-single-branch because I missed something obvious ... ;-)

Show 5 quoted lines
> Also if there is anything else you are currently looking at regarding
> submodules or thinking about, I would be glad to hear about it or to try
> look at it while I am working on these changes. Or if there is anything
> you can think of for me to check with regards to these changes that
> would also be appreciated.
Sure, I keep a Todo list on the Wiki of my GitHub-repo:
   https://github.com/jlehmann/git-submod-enhancements/wiki#issues-still-to-be-tackled

If you want to work on some of those - or other - topic(s), I'll be happy to help.

> I am still quite new to some of the git terms and functionality,
> so please excuse me if I do get anything wrong or do not fully understand.
No worries, we're all still learning ;-)
Previous: Jens Lehmann
Message 6 of 6 in “submodule: add ability to shallowly clone any branch in a submodule”
  1. submodule: add ability to shallowly clone any branch in a submoduleCole Minnaar, Sep 11, 2014
  2. Jens LehmannSep 11, 2014
  3. ColeSep 11, 2014
  4. Fredrik GustafssonSep 12, 2014
  5. Jens LehmannSep 13, 2014
  6. Jens LehmannSep 13, 2014

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.