]> git.madduck.net Git - code/myrepos.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Fix fake-bare worktree checkout
authormartin f. krafft <madduck@madduck.net>
Thu, 25 Oct 2007 23:33:28 +0000 (01:33 +0200)
committermartin f. krafft <madduck@madduck.net>
Thu, 25 Oct 2007 23:39:38 +0000 (01:39 +0200)
commit0930c82183317ae2cd44bfa9c871325467406de2
tree86d7d1eeea2eb4d688dc5b08fae9451de54caa2f
parente7a82f206d14cbaad72df80de8844feadbe5a24b
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.
mr