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

[PATCH] Documentation/gitmodules: Only 'update' and 'url' are required

From
W. Trevor King <wking@tremily.us>
Date
Jan 3, 2014, 18:31 UTC
Message-ID
<c22c81472bb8b8943d34bdf1ac9ef61f5a489a16.1388773808.git.wking@tremily.us>
From: "W. Trevor King" <wking@tremily.us>

Before this commit, all the settings fell under the initial "Each submodule section also contains the following required keys:". The example shows sections with just 'update' and 'url' entries, but we should still make the required/optional distinction explicit for the descriptions.

Signed-off-by: W. Trevor King <wking@tremily.us>
---
 Documentation/gitmodules.txt | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/Documentation/gitmodules.txt b/Documentation/gitmodules.txt
index f7be93f..347a9f7 100644
--- a/Documentation/gitmodules.txt
+++ b/Documentation/gitmodules.txt
@@ -35,6 +35,8 @@ submodule.<name>.url::
 	linkgit:git-clone[1] or (if it begins with ./ or ../) a location
 	relative to the superproject's origin repository.
 
+In addition, there are a number of optional keys:
+
 submodule.<name>.update::
 	Defines what to do when the submodule is updated by the superproject.
 	If 'checkout' (the default), the new commit specified in the
-- 
1.8.5.2.gaa5d535.dirty
Next: Heiko Voigt
Message 1 of 3 in “Documentation/gitmodules: Only 'update' and 'url' are required”
  1. Documentation/gitmodules: Only 'update' and 'url' are requiredW. Trevor King, Jan 3, 2014
  2. Heiko VoigtJan 4, 2014
  3. W. Trevor KingJan 4, 2014

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.