Skip to content
  • Stefan Beller's avatar
    Documentation/git-clone: improve description for submodule recursing · bc29b0b9
    Stefan Beller authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    There have been a few complaints on the mailing list that git-clone doesn't
    respect the `submodule.recurse` setting, which every other command (that
    potentially knows how to deal with submodules) respects.  In case of clone
    this is not beneficial to respect as the user may not want to obtain all
    submodules (assuming a pathspec of '.').
    
    Improve the documentation such that the pathspec is mentioned in the
    synopsis to alleviate the confusion around the submodule recursion flag
    in git-clone.
    
    While at it clarify that the option can be given multiple times for complex
    pathspecs.
    
    Signed-off-by: default avatarStefan Beller <sbeller@google.com>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    bc29b0b9