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

[PATCH] Documentation: add submodule.* to the big configuration variable list

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jul 15, 2010, 07:51 UTC
Message-ID
<20100715075119.GB22244@burratino>
In-Reply-To
<20100715074155.GA22244@burratino>

The url, path, and update items in [submodule "foo"] stanzas are nicely explained in the .gitmodules and ‘git submodule’ documentation. Point there from the config documentation.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
---
It’s late, so I don’t trust this to be coherent English necessarily.
Thoughts and improvements welcome.
 Documentation/config.txt |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 1029bc4..f1fb5ac 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -1685,6 +1685,15 @@ status.submodulesummary::
 	summary of commits for modified submodules will be shown (see
 	--summary-limit option of linkgit:git-submodule[1]).
 
+submodule.<name>.path::
+submodule.<name>.url::
+submodule.<name>.update::
+	The path within this project, URL, and updating strategy
+	for a submodule.  These variables are initially populated
+	by 'git submodule init'; edit them to override the
+	URL and other values found in the `.gitmodules` file.  See
+	linkgit:git-submodule[1] and linkgit:gitmodules[5] for details.
+
 tar.umask::
 	This variable can be used to restrict the permission bits of
 	tar archive entries.  The default is 0002, which turns off the
-- 
1.7.2.rc2
Previous: Jonathan NiederNext: Johan Herland
Message 8 of 12 in “serving git with both "git:" and "http:" and submodules”
  1. Boaz HarroshJul 14, 2010
  2. Jonathan NiederJul 14, 2010
  3. Boaz HarroshJul 14, 2010
  4. Jonathan NiederJul 14, 2010
  5. Brad KingJul 15, 2010
  6. Peter KreftingJul 15, 2010
  7. gitmodules.5: url can be a relative pathJonathan Nieder, Jul 15, 2010
  8. Documentation: add submodule.* to the big configuration variable listJonathan Nieder, Jul 15, 2010
  9. Johan HerlandJul 15, 2010
  10. Jonathan NiederJul 15, 2010
  11. Johan HerlandJul 15, 2010
  12. Boaz HarroshJul 15, 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.