summaryrefslogtreecommitdiffstats
path: root/git-submodule.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2009-08-26 01:35:22 +0000
committerJunio C Hamano <junio@hera.kernel.org>2009-08-26 01:35:22 +0000
commitc276ec7ab95dc6ec845997be86a586c05b26bc2e (patch)
treef949aabb3ae5f186f2bc75992c0ef8ad0377e1ef /git-submodule.txt
parentbed00e716afd5ca14f313c92c54ae41bf20167dd (diff)
downloadgit-htmldocs-c276ec7ab95dc6ec845997be86a586c05b26bc2e.tar.gz
Autogenerated HTML docs for v1.6.4.1-196-g31f0b
Diffstat (limited to 'git-submodule.txt')
-rw-r--r--git-submodule.txt13
1 files changed, 11 insertions, 2 deletions
diff --git a/git-submodule.txt b/git-submodule.txt
index 7dd73ae14..bb7d15917 100644
--- a/git-submodule.txt
+++ b/git-submodule.txt
@@ -15,7 +15,7 @@ SYNOPSIS
'git submodule' [--quiet] init [--] [<path>...]
'git submodule' [--quiet] update [--init] [-N|--no-fetch] [--rebase]
[--reference <repository>] [--merge] [--] [<path>...]
-'git submodule' [--quiet] summary [--cached] [--summary-limit <n>] [commit] [--] [<path>...]
+'git submodule' [--quiet] summary [--cached|--files] [--summary-limit <n>] [commit] [--] [<path>...]
'git submodule' [--quiet] foreach <command>
'git submodule' [--quiet] sync [--] [<path>...]
@@ -127,7 +127,11 @@ summary::
Show commit summary between the given commit (defaults to HEAD) and
working tree/index. For a submodule in question, a series of commits
in the submodule between the given super project commit and the
- index or working tree (switched by --cached) are shown.
+ index or working tree (switched by --cached) are shown. If the option
+ --files is given, show the series of commits in the submodule between
+ the index of the super project and the working tree of the submodule
+ (this option doesn't allow to use the --cached option or to provide an
+ explicit commit).
foreach::
Evaluates an arbitrary shell command in each checked out submodule.
@@ -169,6 +173,11 @@ OPTIONS
commands typically use the commit found in the submodule HEAD, but
with this option, the commit stored in the index is used instead.
+--files::
+ This option is only valid for the summary command. This command
+ compares the commit in the index with that in the submodule HEAD
+ when this option is used.
+
-n::
--summary-limit::
This option is only valid for the summary command.