Re: Git Bug report
- From
Fredrik Gustafsson <iveqy@iveqy.com>
- Date
- Oct 5, 2011, 07:22 UTC
- Message-ID
- <20111005072235.GA12600@kolya>
- In-Reply-To
- <1317763443.17036.15.camel@skyplex>
On Tue, Oct 04, 2011 at 05:24:03PM -0400, Federico Lucifredi wrote:
Show 8 quoted lines
> Found a minor bug in git today - the error message reported is not > correct when trying to access a repo that is not accessible > permission-wise: > > > federico@skyplex:/etc$ git log > > fatal: Not a git repository (or any of the parent directories): .git > > with correct access permissions, everything works as expected.
So if: .git/ is a directory with not enought permissions. ../.git/ is a directory with enought permissions.
git would today use ../.git. You suggest that git instead would die because a .git/ exists? (I'm not saying this is wrong or right).
-- Med vänliga hälsningar Fredrik Gustafsson E-post: iveqy@iveqy.com Tel. nr.: 0733 60 82 74