Re: Lock binairy files in Git

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

 



Hi,

On Wed, 4 Mar 2009, Henk wrote:

> In our current version control system we lock binairy files when we edit
> them. This way other developers know when a file is being edited.

No, you cannot.  Git is distributed, and therefore what you want is 
fundamentally impossible.

You can write hooks, however, enforcing "locks", and make your users 
install them.

But due to the fundamental impossibility of the thing, you have to risk 
that this scenario fails.

It might be better to come up with a non-tool solution to the problem, 
i.e. appointing people responsible for a certain set of your binary files.  
That is outside the purview of Git, though.

Ciao,
Dscho
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux