summaryrefslogtreecommitdiffstats
path: root/git-clone.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2008-04-23 16:09:20 +0000
committerJunio C Hamano <junio@hera.kernel.org>2008-04-23 16:09:20 +0000
commita9aee78a156ad6299451294a61aebe2a73945d3c (patch)
tree67691d6e64c1ddd0806872a934a327873e57f53f /git-clone.html
parent6a45be9321b1ee81baf74de51671f224407e5ad1 (diff)
downloadgit-htmldocs-a9aee78a156ad6299451294a61aebe2a73945d3c.tar.gz
Autogenerated HTML docs for v1.5.5.1-79-g57cf
Diffstat (limited to 'git-clone.html')
-rw-r--r--git-clone.html14
1 files changed, 9 insertions, 5 deletions
diff --git a/git-clone.html b/git-clone.html
index 958f9776c..b39207b9c 100644
--- a/git-clone.html
+++ b/git-clone.html
@@ -344,10 +344,13 @@ configuration variables.</p>
</p>
<p><strong>NOTE</strong>: this is a possibly dangerous operation; do <strong>not</strong> use
it unless you understand what it does. If you clone your
-repository using this option, then delete branches in the
-source repository and then run <a href="git-gc.html">git-gc(1)</a> using the
-<em>--prune</em> option in the source repository, it may remove
-objects which are referenced by the cloned repository.</p>
+repository using this option and then delete branches (or use any
+other git command that makes any existing commit unreferenced) in the
+source repository, some objects may become unreferenced (or dangling).
+These objects may be removed by normal git operations (such as git-commit[1])
+which automatically call git-gc[1]. If these objects are removed and
+were referenced by the cloned repository, then the cloned repository
+will become corrupt.</p>
</dd>
<dt>
--reference &lt;repository&gt;
@@ -361,6 +364,7 @@ objects which are referenced by the cloned repository.</p>
require fewer objects to be copied from the repository
being cloned, reducing network and local storage costs.
</p>
+<p><strong>NOTE</strong>: see NOTE to --shared option.</p>
</dd>
<dt>
--quiet
@@ -664,7 +668,7 @@ Create a repository on the kernel.org machine that borrows from Linus
</div>
<div id="footer">
<div id="footer-text">
-Last updated 28-Feb-2008 00:25:37 UTC
+Last updated 23-Apr-2008 16:08:34 UTC
</div>
</div>
</body>