From 93cbab7370c26c482658988bc711db77685a16f7 Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Thu, 2 Aug 2012 08:27:55 -0700 Subject: [PATCH] doc: Simplify submodules explanation. ``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 --- doc/source/clone-source.rst | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/doc/source/clone-source.rst b/doc/source/clone-source.rst index 47aec2f335b..87c0cc4e1ce 100644 --- a/doc/source/clone-source.rst +++ b/doc/source/clone-source.rst @@ -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