On Fri, Jun 16, 2017 at 11:10 PM, Ævar Arnfjörð Bjarmason <ava...@gmail.com> wrote:
> diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt > index 35cc34b2fb..2169e5c97f 100644 > --- a/Documentation/git-clone.txt > +++ b/Documentation/git-clone.txt > @@ -189,6 +189,14 @@ objects from the source repository into a pack in > the cloned repository. > values are given for the same key, each value will be written to > the config file. This makes it safe, for example, to add > additional fetch refspecs to the origin remote. > ++ > +The underlying implementation of `git clone` isn't equivalent to `git > +init` followed by a `git fetch`, but the two share some of the > +underlying fetch machinery. I think this is unnecessarily technical and detailed to be included under the docs of the '--config' option. > Because of this, setting configuration > +variables which would impact `git fetch` doesn't have any effect on > +`git clone` at all. This is not true, several such configuration variables work even during cloning, see: http://public-inbox.org/git/cam0vkjksmnemwpbfihxiqui3wm_wymqeqmgyrfs5bfsh1jm...@mail.gmail.com/