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

Re: [PATCH] submodule sync: Update "submodule.<name>.url"

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Aug 18, 2010, 10:45 UTC
Message-ID
<4C6BB9E2.4060700@viscovery.net>
In-Reply-To
<1282125673-22956-1-git-send-email-davvid@gmail.com>
Am 8/18/2010 12:01, schrieb David Aguilar:
Show 6 quoted lines
> @@ -840,9 +840,10 @@ cmd_sync()
>  		then
>  		(
>  			clear_local_git_env
> +			say "Synchronizing submodule url for '$name'"
> +			git config submodule."$name".url "$url"

This git config applies to the super module, right? As such, shouldn't it happen before you clear_local_git_env?

Show 5 quoted lines
>  			cd "$path"
>  			remote=$(get_default_remote)
> -			say "Synchronizing submodule url for '$name'"
>  			git config remote."$remote".url "$url"
>  		)
-- Hannes
Previous: David AguilarNext: David Aguilar
Message 2 of 4 in “submodule sync: Update "submodule.<name>.url"”
  1. submodule sync: Update "submodule.<name>.url"David Aguilar, Aug 18, 2010
  2. Johannes SixtAug 18, 2010
  3. David AguilarAug 18, 2010
  4. submodule sync: Update "submodule.<name>.url"David Aguilar, Aug 18, 2010

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.