summaryrefslogtreecommitdiffstats
path: root/git-submodule.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2010-06-13 19:57:10 +0000
committerJunio C Hamano <junio@kernel.org>2010-06-13 19:57:10 +0000
commita574a0905e5c1cf6915624561a011e486cccc25d (patch)
treef8e1c02eb76cc8831442ead327d686de001c8b60 /git-submodule.html
parent13002fbb3347e98e74c1ff7ec581fda52a09dd72 (diff)
downloadgit-htmldocs-a574a0905e5c1cf6915624561a011e486cccc25d.tar.gz
Autogenerated HTML docs for v1.7.1-331-ga5080
Diffstat (limited to 'git-submodule.html')
-rw-r--r--git-submodule.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/git-submodule.html b/git-submodule.html
index 0b0aca299..23d8f3e4c 100644
--- a/git-submodule.html
+++ b/git-submodule.html
@@ -475,10 +475,12 @@ foreach
<dd>
<p>
Evaluates an arbitrary shell command in each checked out submodule.
- The command has access to the variables $name, $path and $sha1:
+ The command has access to the variables $name, $path, $sha1 and
+ $toplevel:
$name is the name of the relevant submodule section in .gitmodules,
$path is the name of the submodule directory relative to the
- superproject, and $sha1 is the commit as recorded in the superproject.
+ superproject, $sha1 is the commit as recorded in the superproject,
+ and $toplevel is the absolute path to the top-level of the superproject.
Any submodules defined in the superproject but not checked out are
ignored by this command. Unless given --quiet, foreach prints the name
of each submodule before evaluating the command.
@@ -661,7 +663,7 @@ for details.</p></div>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2010-04-24 02:56:10 UTC
+Last updated 2010-06-13 19:56:36 UTC
</div>
</div>
</body>