[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vc-git bug with top-level repositories

From: Stefan Monnier
Subject: Re: vc-git bug with top-level repositories
Date: Wed, 27 Aug 2008 22:09:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> How about adding an extra check, where we check the write permissions
>> as well for the user and group?  That is, if the user and the group
>> the user is member of, cannot write to the .git directory then we stop
>> traversing...

>    I don't think this will fly: currently VC works even when you're looking
>    at a project to which you don't have write access, so neither the files
>    nor the .git might be writable.

> AFAIK, atleast for git, you must have write access, if you do not you
> cannot ceate a lock file.

So you need write access even just to do things like diff or even
just diff-index?  That's too bad.  So maybe for Git we could use that
refinement of my heuristic, but it wouldn't help for other backends.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]