Re: lock
From: Paolo Teti <hidden>
Date: 2016-06-15 22:42:11
2005/11/11, Petr Baudis [off-list ref]:
Do you want to lock the file so that noone else will be able to check it out? That's impossible from GIT's very nature of distributed version control system.
No! I know that is impossible using GIT
Do you want to lock the file in your working copy so that you won't be able to remove it or change it? In that case, this is possible, but not implemented yet. Part of the solution would involve making the file read-only, the rest would be probably to make sure all the tools handle that case gracefully.
Yes! this is my case.. The as work-around I can use an hook (i.e. a kind of ClearCase trigger). But remain a work-around!