clone: fall back to copying if hardlinking fails
authorDaniel Barkalow <barkalow@iabervon.org>
Tue, 20 May 2008 18:15:14 +0000 (14:15 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 May 2008 18:11:58 +0000 (11:11 -0700)
commitfdabc242f465771116e08d1ea3737fdb7453b2f1
tree0a544d0b791cf9a53298e5f91ad2e5fd0d28e65c
parent689ef4d42e1adf409b632ed5c36beda4852a4720
clone: fall back to copying if hardlinking fails

Note that it stops trying hardlinks if any fail.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-clone.c