Re: [PATCH/RFC] init, clone: support --real-git-dir for .git file
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Mar 4, 2011, 06:39 UTC
- Message-ID
- <AANLkTik3+g10ihwc4wZK0bFBKr0TMBF9M5BtzW_O1vBA@mail.gmail.com>
- In-Reply-To
- <7v4o7j8lxg.fsf@alter.siamese.dyndns.org>
On Fri, Mar 4, 2011 at 1:00 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 8 quoted lines
> Nguyen Thai Ngoc Duy <pclouds@gmail.com> writes: > >> Moving .git away from existing repos/worktrees I have. > > You are only saying you want to move it, not saying why you want to move > it. > > That is not an explanation _why_ it is useful to be able to do so.
The same reason why I don't want to place .git close to worktree in the first place (paranoid, throwaway worktree, disk constraint...). If I'm going to make a policy that "there must be no .git under ~/w", new repos with --real-git-dir are ok, but what about old repos?
-- Duy