<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-clone.txt, branch v2.26.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.26.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.26.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2019-12-25T19:22:00Z</updated>
<entry>
<title>Merge branch 'ja/doc-markup-cleanup'</title>
<updated>2019-12-25T19:22:00Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-12-25T19:22:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dfee504bee4353fd7cede8b11e0090e20c69a032'/>
<id>urn:sha1:dfee504bee4353fd7cede8b11e0090e20c69a032</id>
<content type='text'>
Doc cleanup.

* ja/doc-markup-cleanup:
  doc: indent multi-line items in list
  doc: remove non pure ASCII characters
</content>
</entry>
<entry>
<title>doc: remove non pure ASCII characters</title>
<updated>2019-12-13T20:18:05Z</updated>
<author>
<name>Jean-Noël Avila</name>
<email>jn.avila@free.fr</email>
</author>
<published>2019-12-12T20:46:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fd5041e127dbe6b5974c924d2386ee2a2ce8b2ce'/>
<id>urn:sha1:fd5041e127dbe6b5974c924d2386ee2a2ce8b2ce</id>
<content type='text'>
Non ASCII characters may be handled by publishing chains, but right
now, nothing indicates the encoding of files. Moreover, non ASCII
source strings upset the localization toolchain.

Signed-off-by: Jean-Noël Avila &lt;jn.avila@free.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>clone: add --sparse mode</title>
<updated>2019-11-22T07:11:43Z</updated>
<author>
<name>Derrick Stolee</name>
<email>dstolee@microsoft.com</email>
</author>
<published>2019-11-21T22:04:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d89f09c8289a764f0a974e02bd5b38cf60d1a7d7'/>
<id>urn:sha1:d89f09c8289a764f0a974e02bd5b38cf60d1a7d7</id>
<content type='text'>
When someone wants to clone a large repository, but plans to work
using a sparse-checkout file, they either need to do a full
checkout first and then reduce the patterns they included, or
clone with --no-checkout, set up their patterns, and then run
a checkout manually. This requires knowing a lot about the repo
shape and how sparse-checkout works.

Add a new '--sparse' option to 'git clone' that initializes the
sparse-checkout file to include the following patterns:

	/*
	!/*/

These patterns include every file in the root directory, but
no directories. This allows a repo to include files like a
README or a bootstrapping script to grow enlistments from that
point.

During the 'git sparse-checkout init' call, we must first look
to see if HEAD is valid, since 'git clone' does not have a valid
HEAD at the point where it initializes the sparse-checkout. The
following checkout within the clone command will create the HEAD
ref and update the working directory correctly.

Signed-off-by: Derrick Stolee &lt;dstolee@microsoft.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'qn/clone-doc-use-long-form'</title>
<updated>2019-07-11T22:16:48Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-07-11T22:16:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4ad01a4c9fa42d389dc3da7c17adaf334735a3a8'/>
<id>urn:sha1:4ad01a4c9fa42d389dc3da7c17adaf334735a3a8</id>
<content type='text'>
The "git clone" documentation refers to command line options in its
description in the short form; they have been replaced with long
forms to make them more recognisable.

* qn/clone-doc-use-long-form:
  docs: git-clone: list short form of options first
  docs: git-clone: refer to long form of options
</content>
</entry>
<entry>
<title>docs: git-clone: list short form of options first</title>
<updated>2019-07-02T19:11:40Z</updated>
<author>
<name>Quentin Nerden</name>
<email>quentin.nerden@intel.com</email>
</author>
<published>2019-07-02T14:37:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bfc8c84ed560af8f74be32fa0fd2568e28161678'/>
<id>urn:sha1:bfc8c84ed560af8f74be32fa0fd2568e28161678</id>
<content type='text'>
List the short form of options (e.g.: '-l') before the long form (e.g.
'--local').
This is to match the doc of git-add, git-commit, git-clean, git-branch...

Signed-off-by: Quentin Nerden &lt;quentin.nerden@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>docs: git-clone: refer to long form of options</title>
<updated>2019-07-02T19:11:38Z</updated>
<author>
<name>Quentin Nerden</name>
<email>quentin.nerden@intel.com</email>
</author>
<published>2019-07-02T14:37:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3711d1cd8984d69b61b3a3626aa88ba52fa32d48'/>
<id>urn:sha1:3711d1cd8984d69b61b3a3626aa88ba52fa32d48</id>
<content type='text'>
To make the doc of git-clone easier to read,
refer to the long form of the options
(it is easier to guess what '--verbose' is doing than '-v').

Signed-off-by: Quentin Nerden &lt;quentin.nerden@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>clone: add `--remote-submodules` flag</title>
<updated>2019-05-28T16:22:02Z</updated>
<author>
<name>Ben Avison</name>
<email>bavison@riscosopen.org</email>
</author>
<published>2019-05-19T14:26:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4c6910163ab59f334becca39f5a83d3b7a622df4'/>
<id>urn:sha1:4c6910163ab59f334becca39f5a83d3b7a622df4</id>
<content type='text'>
When using `git clone --recurse-submodules` there was previously no way to
pass a `--remote` switch to the implicit `git submodule update` command for
any use case where you want the submodules to be checked out on their
remote-tracking branch rather than with the SHA-1 recorded in the superproject.

This patch rectifies this situation. It actually passes `--no-fetch` to
`git submodule update` as well on the grounds they the submodule has only just
been cloned, so fetching from the remote again only serves to slow things down.

Signed-off-by: Ben Avison &lt;bavison@riscosopen.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>clone: send server options when using protocol v2</title>
<updated>2019-04-18T01:53:51Z</updated>
<author>
<name>Jonathan Tan</name>
<email>jonathantanmy@google.com</email>
</author>
<published>2019-04-12T19:51:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6e98305985555ced61971ca0170dd976554193c0'/>
<id>urn:sha1:6e98305985555ced61971ca0170dd976554193c0</id>
<content type='text'>
Commit 5e3548ef16 ("fetch: send server options when using protocol v2",
2018-04-24) taught "fetch" the ability to send server options when using
protocol v2, but not "clone". This ability is triggered by "-o" or
"--server-option".

Teach "clone" the same ability, except that because "clone" already
has "-o" for another parameter, teach "clone" only to receive
"--server-option".

Explain in the documentation, both for clone and for fetch, that server
handling of server options are server-specific. This is similar to
receive-pack's handling of push options - currently, they are just sent
to hooks to interpret as they see fit.

Signed-off-by: Jonathan Tan &lt;jonathantanmy@google.com&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation/clone: document ignored configuration variables</title>
<updated>2018-11-16T04:15:21Z</updated>
<author>
<name>SZEDER Gábor</name>
<email>szeder.dev@gmail.com</email>
</author>
<published>2018-11-14T10:46:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7eae4a3ac4084e6f01bbab2847a399ea5677a099'/>
<id>urn:sha1:7eae4a3ac4084e6f01bbab2847a399ea5677a099</id>
<content type='text'>
Due to limitations in the current implementation, some configuration
variables specified via 'git clone -c var=val' (or 'git -c var=val
clone') are ignored during the initial fetch and checkout.

Let the users know which configuration variables are known to be
ignored ('remote.origin.mirror' and 'remote.origin.tagOpt') under the
documentation of 'git clone -c', along with hints to use the options
'--mirror' and '--no-tags' instead.

Signed-off-by: SZEDER Gábor &lt;szeder.dev@gmail.com&gt;
Reviewed-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'nd/doc-header'</title>
<updated>2018-05-23T05:38:22Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-05-23T05:38:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6b0f1d9c475038a54343c007193f1c81ae82b959'/>
<id>urn:sha1:6b0f1d9c475038a54343c007193f1c81ae82b959</id>
<content type='text'>
Doc formatting fix.

* nd/doc-header:
  doc: keep first level section header in upper case
</content>
</entry>
</feed>
