The option --submodules can be used to activate traversal of sub- modules when creating archives. Signed-off-by: Lars Hjemli <hjemli@xxxxxxxxx> --- archive.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/archive.c b/archive.c index 9ac455d..973dde4 100644 --- a/archive.c +++ b/archive.c @@ -262,6 +262,8 @@ static int parse_archive_args(int argc, const char **argv, OPT_STRING(0, "format", &format, "fmt", "archive format"), OPT_STRING(0, "prefix", &base, "prefix", "prepend prefix to each pathname in the archive"), + OPT_BOOLEAN(0, "submodules", &traverse_gitlinks, + "include reacheable submodules"), OPT__VERBOSE(&verbose), OPT__COMPR('0', &compression_level, "store only", 0), OPT__COMPR('1', &compression_level, "compress faster", 1), -- 1.6.1.81.g1df1.dirty -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html