Re: [PATCH] clone: support atomic operation with --separate-git-dir
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jan 6, 2013, 08:49 UTC
- Message-ID
- <CACsJy8Dbe1+e4-XjB+S=kvXyi_Hdt4CQ6K1Z1V-4sqaYekKPWw@mail.gmail.com>
- In-Reply-To
- <7vfw2eq0a0.fsf@alter.siamese.dyndns.org>
On Sun, Jan 6, 2013 at 1:43 PM, Junio C Hamano <gitster@pobox.com> wrote:
> How is the file that points at the real git dir removed with this > fix, by the way?
It's part of the worktree cleanup, pointed by junk_work_tree. And because junk_work_tree is not set up for --bare, I guess we still need to fix "--bare --separate-git-dir" case, or forbid it because i'm not sure if that case makes sense at all.
-- Duy