Re: keeping remote repo checked out?

From: Linus Torvalds <torvalds@osdl.org>
Date: 2005-11-29 13:39:24
On Mon, 28 Nov 2005, Daniel Barkalow wrote:
> > 
> > but if you use a special git branch for the checked-out state, then you 
> > have to realize that nobody can push directly to it.
> 
> The idea is to have something which is private, to match the working tree, 
> which is obviously private (because it doesn't even exist from the point 
> of view of the database).

Sure. It's private because it has its own name, and you can make _sure_ 
that nobody tries to push to it by having a trigger that refuses to update 
that branch.

Now, if you want to make it also be _invisible_ (so that when others don't 
clone, they don't see what the checked-out state was when they cloned), 
you'd have to make some new rules to git. We could have rules like "branch 
names that start with '.' aren't listed", which would effectively do 
exactly that..

			Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Nov 29 13:40:14 2005

This archive was generated by hypermail 2.1.8 : 2005-11-29 13:40:19 EST