Re: [PATCH] Added hook in git-receive-pack

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] Added hook in git-receive-pack

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:03

Linus Torvalds [off-list ref] writes:
This looks sane. However, I also get the strong feeling that
git-update-server-info should be run as part of a hook and not be built 
into receive-pack..
Personally, I simply don't want to update any dumb server info stuff for 
my own local repositories - it's not like I'm actually serving those out 
anyway.
But you are.  I can run this just fine:

 $ git clone http://www.kernel.org/pub/scm/linux/kernel/git/torvalds/git.git/ linus

I agree in principle that you should be able to disable the call
to update_server_info() from there, but on the other hand once
we start doing it, we need to explain people which repo is http
capable and which repo is not and why.

I was actually thinking about a call to git-update-server-info
at the end of git-repack-script.  Again, great minds think the
opposite way sometimes ;-).

Re: [PATCH] Added hook in git-receive-pack

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:03


On Sun, 31 Jul 2005, Junio C Hamano wrote:
But you are.  I can run this just fine:
No I'm not. Try all the machines behind my firewall.

kernel.org is just the place I put things to when I publish them. It 
doesn't have any of my working directories on it.

			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