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

From: Linus Torvalds
Date: Wed Apr 13 2005 - 10:00:55 EST




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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/