Thread (24 messages) flat view 24 messages, 8 authors, 2016-06-15

Re: git-daemon on NSLU2

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2016-06-15 22:43:31


On Sun, 26 Aug 2007, Jon Smirl wrote:
A really simple change to the git protocol would be to make the client
loop on the request. On the first request the server would see that
the client has no objects and send the "base Linus pack". The client
would then loop around and repeat the process which will trigger the
current pack building process.
Jon, just give it up. The fact is, the git protocol works the right way 
already.
I'm not buying the security argument. If you want something kept hidden 
get it out of the public db. If I know the sha of the hidden object 
can't I just add a head for it and git-deamon will happily send it and 
the chain up to it to me?
That's a particularly idiotic statement.

If you know the SHA1, there can *by*definition* not be any hidden objects. 
The SHA1 depends on the object chain.

		Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help