]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/clone.c
clone: allow more than one --reference
authorJunio C Hamano <gitster@pobox.com>
Tue, 23 Aug 2011 01:05:15 +0000 (18:05 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Aug 2011 01:57:20 +0000 (18:57 -0700)
commitdbc92b072dd7023f8ba1f682a8060022fc72504a
tree2b935124666866f9d8b9702ad60a123962c4a26c
parentf696543dad6c7ba27b0c4fab167a5687263a9ba0
clone: allow more than one --reference

Also add a test to expose a long-standing bug that is triggered when
cloning with --reference option from a local repository that has its own
alternates. The alternate object stores specified on the command line
are lost, and only alternates copied from the source repository remain.
The bug will be fixed in the next patch.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clone.c
t/t5601-clone.sh