<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/git-clone.txt, branch v2.5.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.5.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.5.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-10-15T21:34:45Z</updated>
<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>
<entry>
<title>git-clone.txt: remove shallow clone limitations</title>
<updated>2013-12-11T00:14:19Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2013-12-05T13:02:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=82fba2b9d39163a0c9b7a3a2f35964cbc039e1aa'/>
<id>urn:sha1:82fba2b9d39163a0c9b7a3a2f35964cbc039e1aa</id>
<content type='text'>
Now that git supports data transfer from or to a shallow clone, these
limitations are not true anymore.

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Revert "git-clone.txt: remove the restriction on pushing from a shallow clone"</title>
<updated>2013-07-15T15:35:32Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-07-15T15:31:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5333f2afc4f5c6365845b25ffc22a91379b84c58'/>
<id>urn:sha1:5333f2afc4f5c6365845b25ffc22a91379b84c58</id>
<content type='text'>
This reverts commit dacd2bcc414e0b7aac36aaa400da0a743c4741cc.

"It fails reliably without corrupting the receiving repository when
it should fail" may be better than the situation before the receiving
end was hardened recently, but the fact that sometimes the push does
not go through still remains.  It is better to advice the users that
they cannot push from a shallow repository as a limitation before
they decide to use (or not to use) a shallow clone.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-clone.txt: remove the restriction on pushing from a shallow clone</title>
<updated>2013-07-12T19:03:28Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2013-07-12T05:37:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dacd2bcc414e0b7aac36aaa400da0a743c4741cc'/>
<id>urn:sha1:dacd2bcc414e0b7aac36aaa400da0a743c4741cc</id>
<content type='text'>
The document says one cannot push from a shallow clone. But that is
not true (maybe it was at some point in the past). The client does not
stop such a push nor does it give any indication to the receiver that
this is a shallow push. If the receiver accepts it, it's in.

Since 52fed6e (receive-pack: check connectivity before concluding "git
push" - 2011-09-02), receive-pack is prepared to deal with broken
push, a shallow push can't cause any corruption. Update the document
to reflect that.

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: Update 'linux-2.6.git' -&gt; 'linux.git'</title>
<updated>2013-06-23T06:36:48Z</updated>
<author>
<name>W. Trevor King</name>
<email>wking@tremily.us</email>
</author>
<published>2013-06-22T14:46:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=283efb010806d26967a1865d81d6538507c04acf'/>
<id>urn:sha1:283efb010806d26967a1865d81d6538507c04acf</id>
<content type='text'>
The 3.x tree has been out for a while now.  The -2.6 repository name
survived the initial release [1], but kernel.org now only lists
'linux.git' (for aegl as well as torvalds) [2].

[1]: http://article.gmane.org/gmane.linux.kernel/1147422
  On 2011-05-30 01:47:57 GMT, Linus Torvalds wrote:
  &gt; ... yes, that means that my git tree is still called
  &gt; "linux-2.6.git" on kernel.org.
[2]: http://git.kernel.org/cgit/

Signed-off-by: W. Trevor King &lt;wking@tremily.us&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc/clone: Pick more compelling paths for the --reference example</title>
<updated>2013-06-23T06:35:00Z</updated>
<author>
<name>W. Trevor King</name>
<email>wking@tremily.us</email>
</author>
<published>2013-06-22T14:46:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f22a6543d17d615068652d0f94397f558158d91a'/>
<id>urn:sha1:f22a6543d17d615068652d0f94397f558158d91a</id>
<content type='text'>
There may be times when using one of your local repositories as a
reference for a new clone make sense, but the implied version-bump in
the old example isn't one of them.  I think a more intuitive example
is multi-user system with a central reference clone, and the new paths
hint at this use case.

Signed-off-by: W. Trevor King &lt;wking@tremily.us&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc/clone: Remove the '--bare -l -s' example</title>
<updated>2013-06-23T06:34:54Z</updated>
<author>
<name>W. Trevor King</name>
<email>wking@tremily.us</email>
</author>
<published>2013-06-22T14:46:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8c8fc53c7d3daf07f690c1d88ce45849663e6fa4'/>
<id>urn:sha1:8c8fc53c7d3daf07f690c1d88ce45849663e6fa4</id>
<content type='text'>
There are other examples in git-clone.txt demonstrating both '--bare'
and '-l -s'.

Signed-off-by: W. Trevor King &lt;wking@tremily.us&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
