Re: [PATCH] git-daemon server
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Jun 3, 2005, 21:59 UTC
- Message-ID
- <Pine.LNX.4.58.0506031450190.1876@ppc970.osdl.org>
- In-Reply-To
- <Pine.LNX.4.21.0506031727400.30848-100000@iabervon.org>
On Fri, 3 Jun 2005, Daniel Barkalow wrote:
> > Is this somehow different from rpush/rpull aside from using an > externally-provided socket and having the proper locking for writing refs > (which I posted a while ago, but which hasn't been included anywhere yet)?
Deathmatch!
Anyway, I have to admit that at least as far as I'm concerned, the rpull/rpush thing has the same issues as Jason's code - I've not seen the usage documented anywhere, and that's the only real reason I don't use it myself.
Also, just out of interest, do either or both of these things pipeline the transfer?
Me, I want to have a fairly simple script that does the equivalent of what I do now for pushing:
rsync -av --delete --exclude-from=.exclude .git/ master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
except I'd want it to do the locking and the "only accept trivial pushes" stuff (ie no merging, just a pure update).
Maybe git-rpush does this already, and I just never realized.
Linus