Re: Interest in locking mechanism?
- From
Edward Z. Yang <ezyang@mit.edu>
- Date
- Jan 12, 2010, 19:43 UTC
- Message-ID
- <1263325308-sup-5516@ezyang>
- In-Reply-To
- <46a038f91001121133r62b3d748n38ca27234f18e960@mail.gmail.com>
Excerpts from Martin Langhoff's message of Tue Jan 12 14:33:18 -0500 2010:
> So write your own "git-lock" command that does "chmod g-w $@"; > git-unlock reenables the group-writable bit. Done.
That was what I was thinking of doing (with modestly more cleverness for recursive operation), and maybe some convenience flags for git-commit for automatically unlocking or preserving the lock across a commit.
Cheers, Edward