* [PATCH] `git submodule add` now requires a <path>
@ 2008-07-29 19:53 Abhijit Menon-Sen
2008-07-29 20:58 ` Junio C Hamano
0 siblings, 1 reply; 2+ messages in thread
From: Abhijit Menon-Sen @ 2008-07-29 19:53 UTC (permalink / raw)
To: git; +Cc: gitster
Signed-off-by: Abhijit Menon-Sen <ams@toroid.org>
---
Documentation/user-manual.txt | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
index c5641af..00256ca 100644
--- a/Documentation/user-manual.txt
+++ b/Documentation/user-manual.txt
@@ -3458,7 +3458,7 @@ $ cd super
$ git init
$ for i in a b c d
do
- git submodule add ~/git/$i
+ git submodule add ~/git/$i $i
done
-------------------------------------------------
@@ -3471,10 +3471,10 @@ $ ls -a
. .. .git .gitmodules a b c d
-------------------------------------------------
-The `git-submodule add` command does a couple of things:
+The `git-submodule add <repo> <path>` command does a couple of things:
-- It clones the submodule under the current directory and by default checks out
- the master branch.
+- It clones the submodule from <repo> to the given <path> under the
+ current directory and by default checks out the master branch.
- It adds the submodule's clone path to the linkgit:gitmodules[5] file and
adds this file to the index, ready to be committed.
- It adds the submodule's current commit ID to the index, ready to be
--
1.6.0.rc0.43.g2aa74
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] `git submodule add` now requires a <path>
2008-07-29 19:53 [PATCH] `git submodule add` now requires a <path> Abhijit Menon-Sen
@ 2008-07-29 20:58 ` Junio C Hamano
0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2008-07-29 20:58 UTC (permalink / raw)
To: Abhijit Menon-Sen; +Cc: git
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-29 20:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-29 19:53 [PATCH] `git submodule add` now requires a <path> Abhijit Menon-Sen
2008-07-29 20:58 ` Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).