]> asedeno.scripts.mit.edu Git - git.git/commitdiff
Merge branch 'jl/clone-recurse-sm-synonym'
authorJunio C Hamano <gitster@pobox.com>
Tue, 30 Nov 2010 01:52:34 +0000 (17:52 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Nov 2010 01:52:34 +0000 (17:52 -0800)
* jl/clone-recurse-sm-synonym:
  clone: Add the --recurse-submodules option as alias for --recursive

1  2 
Documentation/git-clone.txt

index 23203829cf35e9b65ef6b4a44786bce7300e3e5a,d69984b27cb4b0c8595dfcf177208dbfe0b01669..42e7021215563f146a66d14e1b642d4dbe55bfaf
@@@ -12,7 -12,8 +12,8 @@@ SYNOPSI
  'git clone' [--template=<template_directory>]
          [-l] [-s] [--no-hardlinks] [-q] [-n] [--bare] [--mirror]
          [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>]
-         [--depth <depth>] [--recursive] [--] <repository> [<directory>]
+         [--depth <depth>] [--recursive|--recurse-submodules] [--] <repository>
+         [<directory>]
  
  DESCRIPTION
  -----------
@@@ -131,7 -132,7 +132,7 @@@ objects from the source repository int
        Set up a mirror of the source repository.  This implies `--bare`.
        Compared to `--bare`, `--mirror` not only maps local branches of the
        source to local branches of the target, it maps all refs (including
 -      remote branches, notes etc.) and sets up a refspec configuration such
 +      remote-tracking branches, notes etc.) and sets up a refspec configuration such
        that all these refs are overwritten by a `git remote update` in the
        target repository.
  
        as patches.
  
  --recursive::
+ --recurse-submodules::
        After the clone is created, initialize all submodules within,
        using their default settings. This is equivalent to running
        `git submodule update --init --recursive` immediately after