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

Re: [PATCH v5] [submodule] Add --depth to submodule update/add

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 3, 2013, 08:13 UTC
Message-ID
<7v4ncchxif.fsf@alter.siamese.dyndns.org>
In-Reply-To
<51D3D20A.5000700@web.de>
Jens Lehmann <Jens.Lehmann@web.de> writes:
Show 20 quoted lines
> Am 02.07.2013 23:42, schrieb Fredrik Gustafsson:
>> Add the --depth option to the add and update commands of "git submodule",
>> which is then passed on to the clone command. This is useful when the
>> submodule(s) are huge and you're not really interested in anything but
>> the latest commit.
>> 
>> Tests are added and some indention adjustments were made to conform to the
>> rest of the testfile on "submodule update can handle symbolic links in pwd".
>> 
>> Signed-off-by: Fredrik Gustafsson <iveqy@iveqy.com>
>> ---
>> 
>> And I finally thought I'd everything right. I appriciate your reviews.
>> 
>> I left the "" on $5 for consistency as suggested.
>
> Thanks, looking good to me. Passes all tests and the new tests fail
> when the change in the submodule script is reverted.
>
> Acked-by: Jens Lehmann <Jens.Lehmann@web.de>
> The only minor problem is that this patch still does not apply cleanly
> to master, next or pu (I wonder what you based this on ;-).
Thanks; will replace what I queued on 'pu'.
Previous: Jens LehmannNext: Fredrik Gustafsson
Message 8 of 11 in “[submodule] Add --depth to submodule update/add”
  1. [submodule] Add --depth to submodule update/addFredrik Gustafsson, Jul 2, 2013
  2. Andreas SchwabJul 2, 2013
  3. Jens LehmannJul 2, 2013
  4. [submodule] Add --depth to submodule update/addFredrik Gustafsson, Jul 2, 2013
  5. Jens LehmannJul 2, 2013
  6. [submodule] Add --depth to submodule update/addFredrik Gustafsson, Jul 2, 2013
  7. Jens LehmannJul 3, 2013
  8. Junio C HamanoJul 3, 2013
  9. Fredrik GustafssonJul 3, 2013
  10. Junio C HamanoJul 3, 2013
  11. Junio C HamanoJul 2, 2013

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.