Re: [PATCH] git-daemon server
From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:41:59
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