Re: [PATCH/RFC] init, clone: support --real-git-dir for .git file
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Mar 4, 2011, 04:19 UTC
- Message-ID
- <AANLkTikaD5oxx2bwx0R3x_1p1KnfBFqJJ2xtNiWW4-SC@mail.gmail.com>
- In-Reply-To
- <4D700469.7090807@gmail.com>
2011/3/4 Piotr Krukowiecki <piotr.krukowiecki@gmail.com>:
Show 6 quoted lines
>> This makes '.git symbolic link' (what's its official name?) more >> convenient to use. Previously whenever I need to create a .git link, >> I need to open docs to see its format. Now all I need to do is > > Took me a while to find documentation for .git file format. Probably my > fault, missed the gitrepository-layout link.
Exactly why I wrote this patch. I do remember there is a prefix before the path, but what is it? gitdir: or git-dir: or dir:? No I don't want to look at the document every time I need to create a link. Trial and error is not preferred either. Also manual manipulation on repos should be avoided if possible.
-- Duy