builtin-clone: fix initial checkout
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Thu, 15 May 2008 09:48:25 +0000 (10:48 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 May 2008 22:05:00 +0000 (15:05 -0700)
commita73bc1275bb0939c51c496b1d50c516e6314eab2
tree855781cc4b511dc2f214bb218bd24203e7fbdf80
parent8434c2f1afedb936e0ea8c07ce25733013c2f743
builtin-clone: fix initial checkout

Somewhere in the process of finishing up builtin-clone, the update of
the working tree was lost.  This was due to not using the option "merge"
for unpack_trees().

Breakage noticed by Kevin Ballard.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Tested-by: Jeff King <peff@peff.net>
Acked-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-clone.c
t/t5601-clone.sh