]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Simplify submodules explanation.
authorTommi Virtanen <tv@inktank.com>
Thu, 2 Aug 2012 15:27:55 +0000 (08:27 -0700)
committerTommi Virtanen <tv@inktank.com>
Thu, 2 Aug 2012 15:35:14 +0000 (08:35 -0700)
``git clone --recursive`` does ``init`` & ``update`` for us. Also
avoids incorrect language; there never were submodules called ``init``
and ``update``.

Signed-off-by: Tommi Virtanen <tv@inktank.com>
doc/source/clone-source.rst

index 47aec2f335b64823415d62f09c99012f0fb972db..87c0cc4e1ce0c36813990af9c7f212a741ab2583 100644 (file)
@@ -9,22 +9,14 @@ Clone the Source
 ----------------
 To clone the Ceph source code repository, execute::
 
-       git clone https://github.com/ceph/ceph.git
+       git clone --recursive https://github.com/ceph/ceph.git
 
 Once ``git clone`` executes, you should have a full copy of the Ceph 
 repository.
 
-Clone the Submodules
---------------------
-Before you can build Ceph, you must navigate to your new repository and get 
-the ``init`` submodule and the ``update`` submodule::
-
-       cd ceph
-       git submodule init
-       git submodule update
-
-.. tip:: Make sure you maintain the latest copies of these submodules. 
-   Running ``git status`` will tell you if the submodules are out of date::
+.. tip:: Make sure you maintain the latest copies of the submodules
+   included in the repository. Running ``git status`` will tell you if
+   the submodules are out of date::
 
        git status