diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2008-05-15 11:48:25 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-16 00:05:00 +0200 |
commit | a73bc1275bb0939c51c496b1d50c516e6314eab2 (patch) | |
tree | 855781cc4b511dc2f214bb218bd24203e7fbdf80 /t | |
parent | Build in clone (diff) | |
download | git-a73bc1275bb0939c51c496b1d50c516e6314eab2.tar.xz git-a73bc1275bb0939c51c496b1d50c516e6314eab2.zip |
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>
Diffstat (limited to 't')
-rwxr-xr-x | t/t5601-clone.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t/t5601-clone.sh b/t/t5601-clone.sh index dc9d63dbf9..593d1a3877 100755 --- a/t/t5601-clone.sh +++ b/t/t5601-clone.sh @@ -23,4 +23,11 @@ test_expect_success 'clone with excess parameters' ' ' +test_expect_success 'clone checks out files' ' + + git clone src dst && + test -f dst/file + +' + test_done |