]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/clone.c
clone: allow "--dissociate" without reference
authorAlex Riesen <raa.lkml@gmail.com>
Thu, 22 Oct 2015 16:41:17 +0000 (18:41 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 22 Oct 2015 19:13:29 +0000 (12:13 -0700)
commit0181681e921fa4e001a51886749ee0584233db51
treea57631f96bb7748d5f86a0602a93ddfc5ee4a8de
parent74301d6edeb0e081a4ef864057952b6a7ff2b4be
clone: allow "--dissociate" without reference

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 <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-clone.txt
builtin/clone.c
t/t5700-clone-reference.sh