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

[PATCH 0/2] Do not search submodules in deep recursive merge

From
Brad King <brad.king@kitware.com>
Date
Oct 13, 2011, 12:59 UTC
Message-ID
<cover.1318509069.git.brad.king@kitware.com>
In-Reply-To
<7vipnu9hbj.fsf@alter.siamese.dyndns.org>
On 10/12/2011 2:48 PM, Junio C Hamano wrote:
Show 9 quoted lines
> [Stalled]
>
> * hv/submodule-merge-search (2011-08-26) 5 commits
>   - submodule: Search for merges only at end of recursive merge
>   - allow multiple calls to submodule merge search for the same path
>   - submodule: Demonstrate known breakage during recursive merge
>   - push: Don't push a repository with unpushed submodules
>   - push: teach --recurse-submodules the on-demand option
>   (this branch is tangled with fg/submodule-auto-push.)

AFAICT these two topics are tangled due revision traversal interactions. I've untangled the two "submodule:" commits from this stalled topic and rebased on master (34c4461a) resolving one conflict.

The first commit demonstrates a bug: submodule merge search occurs multiple times for the same path during a recursive merge and fails the second time. The second commit fixes it by performing the merge search only at depth 0 recursion. These changes are independent from the actual merge search and revision traversal logic.

Brad
Brad King (2):
  submodule: Demonstrate known breakage during recursive merge
  submodule: Search for merges only at end of recursive merge
 merge-recursive.c          |    6 +++-
 submodule.c                |    6 ++++-
 submodule.h                |    2 +-
 t/t7405-submodule-merge.sh |   51 ++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 61 insertions(+), 4 deletions(-)
-- 
1.7.5.4
Previous: Jakub NarebskiNext: Brad King
Message 5 of 8 in “What's cooking in git.git (Oct 2011, #04; Wed, 12)”
  1. Junio C HamanoOct 12, 2011
  2. Jeff KingOct 12, 2011
  3. Junio C HamanoOct 12, 2011
  4. Jakub NarebskiOct 13, 2011
  5. 0/2 Do not search submodules in deep recursive mergeBrad King, Oct 13, 2011
  6. 1/2 submodule: Demonstrate known breakage during recursive mergeBrad King, Oct 13, 2011
  7. 2/2 submodule: Search for merges only at end of recursive mergeBrad King, Oct 13, 2011
  8. Junio C HamanoOct 13, 2011

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.