From: martin f. krafft Date: Thu, 25 Oct 2007 23:33:28 +0000 (+0200) Subject: Fix fake-bare worktree checkout X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/0930c82183317ae2cd44bfa9c871325467406de2?hp=0930c82183317ae2cd44bfa9c871325467406de2 Fix fake-bare worktree checkout We have to jump through hoops to check out fake-bare repositories since the target directory probably already exists. Thus, we cheat by telling git-clone *not* to checkout and then read-tree and checkout-index ourselves. We also convert the non-bare repository to a fake bare one by moving stuff around. Probably a bit hackish but this is the best I can do for now. ---