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

Re: What's cooking in git.git (Jun 2011, #05; Thu, 30)

From
Jens Lehmann <jens.lehmann@web.de>
Date
Jul 2, 2011, 18:46 UTC
Message-ID
<4E0F67A3.2030001@web.de>
In-Reply-To
<7viprmq4sy.fsf@alter.siamese.dyndns.org>
Am 01.07.2011 01:26, schrieb Junio C Hamano:
Show 6 quoted lines
> * jl/submodule-add-relurl-wo-upstream (2011-06-06) 3 commits
>  - submodule add: clean up duplicated code
>  - submodule add: allow relative repository path even when no url is set
>  - submodule add: test failure when url is not configured in superproject
> 
> When merged to pu, it seems to break 7610.

It looks like the merge conflict resolution of the changes in "submodule add: clean up duplicated code" with those from "submodule add: always initialize .git/config entry" in the jc/submodule-sync-no-auto-vivify branch dropped a variable change.

When I apply this on top of pu, all tests run fine:
------ 8< -----
@@ -253,11 +253,11 @@ Use -f if you really want to add it." &&
 			'') git checkout -f -q ;;
 			?*) git checkout -f -q -B "$branch" "origin/$branch" ;;
 			esac
 		) || die "$(eval_gettext "Unable to checkout submodule '\$path'")"
 	fi
-	git config submodule."$path".url "$url"
+	git config submodule."$path".url "$realrepo"

 	git add $force "$path" ||
 	die "$(eval_gettext "Failed to add submodule '\$path'")"

 	git config -f .gitmodules submodule."$path".path "$path" &&
Previous: Ævar Arnfjörð BjarmasonNext: Junio C Hamano
Message 4 of 5 in “What's cooking in git.git (Jun 2011, #05; Thu, 30)”
  1. Junio C HamanoJun 30, 2011
  2. Elijah NewrenJul 1, 2011
  3. Ævar Arnfjörð BjarmasonJul 1, 2011
  4. Jens LehmannJul 2, 2011
  5. Junio C HamanoJul 4, 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.