Re: [PATCH 02/34] Add t1510 and basic rules that run repo setup
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Oct 27, 2010, 15:37 UTC
- Message-ID
- <AANLkTiknZEp8EoHr6auqUQQsMj+MvLwhUYxzUD9N-6L4@mail.gmail.com>
- In-Reply-To
- <1288190977-30875-3-git-send-email-pclouds@gmail.com>
2010/10/27 Nguyễn Thái Ngọc Duy <pclouds@gmail.com>:
> +# 2. .git file is relative to git_dir. .git file is basically symlink > +# in disguise.
This is not completely followed in my tests. If .git is a true symlink, its link is relative to .git itself. When .git is a file, it would be more difficult to calculate path relative to .git (you can't chdir to a file). In my tests, the link is relative to .git's parent directory, not .git.
-- Duy