<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-clone.txt, branch v2.8.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.8.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.8.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2016-02-17T18:13:28Z</updated>
<entry>
<title>Merge branch 'jk/drop-rsync-transport'</title>
<updated>2016-02-17T18:13:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-02-17T18:13:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9f03176ef679ea5e0fb9088529180db72ae0764b'/>
<id>urn:sha1:9f03176ef679ea5e0fb9088529180db72ae0764b</id>
<content type='text'>
It turns out "git clone" over rsync transport has been broken when
the source repository has packed references for a long time, and
nobody noticed nor complained about it.

* jk/drop-rsync-transport:
  transport: drop support for git-over-rsync
</content>
</entry>
<entry>
<title>transport: drop support for git-over-rsync</title>
<updated>2016-02-01T21:07:41Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2016-01-30T07:21:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0d0bac67ce3b3f2301702573f6acc100798d7edd'/>
<id>urn:sha1:0d0bac67ce3b3f2301702573f6acc100798d7edd</id>
<content type='text'>
The git-over-rsync protocol is inefficient and broken, and
has been for a long time. It transfers way more objects than
it needs (grabbing all of the remote's "objects/",
regardless of which objects we need). It does its own ad-hoc
parsing of loose and packed refs from the remote, but
doesn't properly override packed refs with loose ones,
leading to garbage results (e.g., expecting the other side
to have an object pointed to by a stale packed-refs entry,
or complaining that the other side has two copies of the
refs[1]).

This latter breakage means that nobody could have
successfully pulled from a moderately active repository
since cd547b4 (fetch/push: readd rsync support, 2007-10-01).

We never made an official deprecation notice in the release
notes for git's rsync protocol, but the tutorial has marked
it as such since 914328a (Update tutorial., 2005-08-30).
And on the mailing list as far back as Oct 2005, we can find
Junio mentioning it as having "been deprecated for quite
some time."[2,3,4]. So it was old news then; cogito had
deprecated the transport in July of 2005[5] (though it did
come back briefly when Linus broke git-http-pull!).

Of course some people professed their love of rsync through
2006, but Linus clarified in his usual gentle manner[6]:

  &gt; Thanks!  This is why I still use rsync, even though
  &gt; everybody and their mother tells me "Linus says rsync is
  &gt; deprecated."

  No. You're using rsync because you're actively doing
  something _wrong_.

The deprecation sentiment was reinforced in 2008, with a
mention that cloning via rsync is broken (with no fix)[7].

Even the commit porting rsync over to C from shell (cd547b4)
lists it as deprecated! So between the 10 years of informal
warnings, and the fact that it has been severely broken
since 2007, it's probably safe to simply remove it without
further deprecation warnings.

[1] http://article.gmane.org/gmane.comp.version-control.git/285101
[2] http://article.gmane.org/gmane.comp.version-control.git/10093
[3] http://article.gmane.org/gmane.comp.version-control.git/17734
[4] http://article.gmane.org/gmane.comp.version-control.git/18911
[5] http://article.gmane.org/gmane.comp.version-control.git/5617
[6] http://article.gmane.org/gmane.comp.version-control.git/19354
[7] http://article.gmane.org/gmane.comp.version-control.git/103635

Signed-off-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 'ss/clone-depth-single-doc'</title>
<updated>2016-01-20T19:43:35Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-01-20T19:43:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=85705cfb572878296f26a7fef0d174b5ec694161'/>
<id>urn:sha1:85705cfb572878296f26a7fef0d174b5ec694161</id>
<content type='text'>
Documentation for "git fetch --depth" has been updated for clarity.

* ss/clone-depth-single-doc:
  docs: clarify that --depth for git-fetch works with newly initialized repos
  docs: say "commits" in the --depth option wording for git-clone
  docs: clarify that passing --depth to git-clone implies --single-branch
</content>
</entry>
<entry>
<title>docs: say "commits" in the --depth option wording for git-clone</title>
<updated>2016-01-08T20:39:58Z</updated>
<author>
<name>Sebastian Schuberth</name>
<email>sschuberth@gmail.com</email>
</author>
<published>2016-01-08T09:18:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fc142811d14d3acb64d1c2057a774fa1573e60cb'/>
<id>urn:sha1:fc142811d14d3acb64d1c2057a774fa1573e60cb</id>
<content type='text'>
It is not wrong to talk about "revisions" here, but in this context
revisions are always commits, and that is how we already name it in the
git-fetch docs. So align the docs by always referring to "commits".

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>docs: clarify that passing --depth to git-clone implies --single-branch</title>
<updated>2016-01-07T19:45:19Z</updated>
<author>
<name>Sebastian Schuberth</name>
<email>sschuberth@gmail.com</email>
</author>
<published>2016-01-06T13:06:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=28a1b56932c222b326e4ac0cd480d4e0be72fb1c'/>
<id>urn:sha1:28a1b56932c222b326e4ac0cd480d4e0be72fb1c</id>
<content type='text'>
It is confusing to document how --depth behaves as part of the
--single-branch docs. Better move that part to the --depth docs, saying
that it implies --single-branch by default.

Signed-off-by: Sebastian Schuberth &lt;sschuberth@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>clone: allow "--dissociate" without reference</title>
<updated>2015-10-22T19:13:29Z</updated>
<author>
<name>Alex Riesen</name>
<email>raa.lkml@gmail.com</email>
</author>
<published>2015-10-22T16:41:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0181681e921fa4e001a51886749ee0584233db51'/>
<id>urn:sha1:0181681e921fa4e001a51886749ee0584233db51</id>
<content type='text'>
The "--reference" option is not the only way to provide a repository
to borrow objects from.  A repository that borrows from another
repository can be cloned with "clone --local" and the resulting
repository will borrow from the same repository, which the user
may want to "--dissociate" from.

Signed-off-by: Alex Riesen &lt;raa.lkml@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>clone: --dissociate option to mark that reference is only temporary</title>
<updated>2014-10-15T21:34:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-10-14T19:38:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fb1d6dabce69bce3f28a7f442da990ef8df872ac'/>
<id>urn:sha1:fb1d6dabce69bce3f28a7f442da990ef8df872ac</id>
<content type='text'>
While use of the --reference option to borrow objects from an
existing local repository of the same project is an effective way to
reduce traffic when cloning a project over the network, it makes the
resulting "borrowing" repository dependent on the "borrowed"
repository.  After running

	git clone --reference=P $URL Q

the resulting repository Q will be broken if the borrowed repository
P disappears.

The way to allow the borrowed repository to be removed is to repack
the borrowing repository (i.e. run "git repack -a -d" in Q); while
power users may know it very well, it is not easily discoverable.

Teach a new "--dissociate" option to "git clone" to run this
repacking for the user.

Helped-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>docs/git-clone: clarify use of --no-hardlinks option</title>
<updated>2014-02-11T19:03:07Z</updated>
<author>
<name>Albert L. Lash, IV</name>
<email>alash3@bloomberg.net</email>
</author>
<published>2014-02-08T20:41:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=897e3e454062d2bb9d3c1e4068caf4971fd713ff'/>
<id>urn:sha1:897e3e454062d2bb9d3c1e4068caf4971fd713ff</id>
<content type='text'>
Current text claims optimization, implying the use of
hardlinks, when this option ratchets down the level of
efficiency. This change explains the difference made by
using this option, namely copying instead of hardlinking,
and why it may be useful.

Signed-off-by: Albert L. Lash, IV &lt;alash3@bloomberg.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ow/manpages-typofix'</title>
<updated>2014-02-07T19:55:12Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-02-07T19:55:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=efe5f1d25d198ae8796b6f095c2cffae270bb9b6'/>
<id>urn:sha1:efe5f1d25d198ae8796b6f095c2cffae270bb9b6</id>
<content type='text'>
Various typofixes, all looked correct.

* ow/manpages-typofix:
  Documentation: fix typos in man pages
</content>
</entry>
<entry>
<title>Documentation: fix typos in man pages</title>
<updated>2014-02-05T22:35:45Z</updated>
<author>
<name>Øystein Walle</name>
<email>oystwa@gmail.com</email>
</author>
<published>2014-02-05T22:19:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5fe8f49b6d59cf143a5898ddbb161444a95fa871'/>
<id>urn:sha1:5fe8f49b6d59cf143a5898ddbb161444a95fa871</id>
<content type='text'>
Signed-off-by: Øystein Walle &lt;oystwa@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
