Code

Merge branch 'py/submodule'
[git.git] / Documentation / git-submodule.txt
index e96bf365213c3321e9721dc2baa87ad278dfcb26..41f9f635665b82806350c87de5117e1cfa806c1a 100644 (file)
@@ -19,8 +19,9 @@ COMMANDS
 --------
 add::
        Add the given repository as a submodule at the given path
-       to the changeset to be committed next.  In particular, the
-       repository is cloned at the specified path, added to the
+       to the changeset to be committed next.  If path is a valid
+       repository within the project, it is added as is. Otherwise,
+       repository is cloned at the specified path. path is added to the
        changeset and registered in .gitmodules.   If no path is
        specified, the path is deduced from the repository specification.
        If the repository url begins with ./ or ../, it is stored as