summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-10-30 13:06:53 -0700
committerJunio C Hamano <gitster@pobox.com>2015-10-30 13:06:53 -0700
commit908700c0082487f9c859b951370148ff7e8acb97 (patch)
tree1dea0f29594b1d3d10c470947eb40912b272e29f /Documentation
parent482456a414d69d8c44b92bbf73eb4ee53b5d8ab9 (diff)
parent0181681e921fa4e001a51886749ee0584233db51 (diff)
downloadgit-908700c0082487f9c859b951370148ff7e8acb97.tar.gz
Merge branch 'ar/clone-dissociate'
"git clone --dissociate" used to require that "--reference" was used at the same time, but you can create a new repository that borrows objects from another without using "--reference", namely with "clone --local" from a repository that borrows objects from other repositories. * ar/clone-dissociate: clone: allow "--dissociate" without reference
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-clone.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt
index f1f2a3f7ea..6bf000dac3 100644
--- a/Documentation/git-clone.txt
+++ b/Documentation/git-clone.txt
@@ -104,8 +104,13 @@ objects from the source repository into a pack in the cloned repository.
--dissociate::
Borrow the objects from reference repositories specified
with the `--reference` options only to reduce network
- transfer and stop borrowing from them after a clone is made
- by making necessary local copies of borrowed objects.
+ transfer, and stop borrowing from them after a clone is made
+ by making necessary local copies of borrowed objects. This
+ option can also be used when cloning locally from a
+ repository that already borrows objects from another
+ repository--the new repository will borrow objects from the
+ same repository, and this option can be used to stop the
+ borrowing.
--quiet::
-q::