Re: Re: [ANNOUNCE] git-pasky-0.3

Linus Torvalds
2005-04-13T14:58:20Z

On Wed, 13 Apr 2005, David Woodhouse wrote:
>
> > In other words, that index file simply _cannot_ be shared. Don't even
> > think about it. Only madness will ensue.
>
> If I use git in my home directory I cannot _help_ but share it.
> Sometimes I'm using it from a BE box, sometimes from a LE box. Should I
> really be forced to use separate checkouts for each type of machine?

Now, that kind of "private sharing" should certainly be ok. In fact, the
only locking there is (doing the ".git/index.lock" thing around any
updates and erroring out if it already exists) was somewhat designed for
that. So making it use BE data (preferred just because then you can use
the existing htonl() etc helpers in user space) would work.

As long as people don't think this means anything else... It really is a
private file.

Linus