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, 17:36 UTC
Message-ID
<7vvc4rfsud.fsf@alter.siamese.dyndns.org>
In-Reply-To
<51D3D20A.5000700@web.de>
Jens Lehmann <Jens.Lehmann@web.de> writes:
> 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 ;-).

Older iteration of the topic has been queued directly on top of v1.8.3. When I replace a topic with its new version, I try to rebuild on the same base.

This is primarily out of habit, but it makes comparison between the two versions easier, and also "show-branch -g" output looks sane.

The workflow goes like this:
	: quick-glance the old iteration
	$ git log --boundary --oneline master..fg/submodule-clone-depth
        : can we rewind?  compare with the previous one for 'master'
        $ git log --boundary --oneline next..fg/submodule-clone-depth
        : if nothing has been merged to 'next', we can continue...
	: detach at the old base
	$ git checkout master...fg/submodule-clone-depth
        : apply
        $ git am -s3 ./+fg-submodule-clone-depth.mbox
        : inspect
        $ git show-branch @{-1} HEAD
        $ git diff @{-1}
	: replace
        $ git branch -f @{-1}
Previous: Fredrik GustafssonNext: Junio C Hamano
Message 10 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.