Re: permissions
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Jun 8, 2010, 14:52 UTC
- Message-ID
- <AANLkTimAmSxq8dC-4bnpLsvN3JabQeTO6pDTh9ds7D0D@mail.gmail.com>
- In-Reply-To
- <4C0E1AB1.2030702@wpursell.net>
On Tue, Jun 8, 2010 at 12:25, William Pursell <bill.pursell@gmail.com> wrote:
> Here's a patch. This doesn't address the issue of a damaged > repository, but just catches access errors and permissions.
The change looks fishy.
The patch moves the function is_git_directory at the level of user interface where it wasn't before: it now complains and die. Not all callers of the function call it only to die if it fails.