mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Bryan Wu <bryan.wu@analog.com>
Cc: Greg KH <greg@kroah.com>, Chris Wright <chrisw@sous-sol.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	stable@kernel.org, Nish Aravamudan <nish.aravamudan@gmail.com>
Subject: Re: Linux 2.6.22.1
Date: Thu, 12 Jul 2007 23:34:50 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LFD.0.999.0707122328340.20061@woody.linux-foundation.org> (raw)
In-Reply-To: <1184308100.8943.12.camel@roc-desktop>



On Fri, 13 Jul 2007, Bryan Wu wrote:
> 
> I can git-pull from Linus tree through http in my company, this one
> can't. If it is not easy to open it by you guys, I have to git-pull at
> home, -:))

In that case, it's almost certainly that that tree isn't doing the proper 
"git update-server-info" when people push to it.

Chris/Greg: just add a

	hooks/post-update

file to your git repo that is executable, and just contains

	#!/bin/sh
	exec git-update-server-info

in it, and you'll be golden. It will mean that every time you push to the 
repo, it will run the "git update-server-info" thing after the push. And 
that will update all the necessary files for the stupid protocols (ie 
http) that don't know about git natively.

Oh, and run the "git-update-server-info" once by hand, just so that you 
don't then have to wait until after the next push for the git repo to be 
accessible by http://

www.kernel.org serves git repos fine, but the git repos have to help a bit 
at doing so.

What git update-server-info does is to create "info/refs" and 
"objects/info/packs" files that contain enough information for a client to 
figure out what refs and pack objects exist, so that they can try to fetch 
the necessary data on their own.

		Linus

  reply	other threads:[~2007-07-13  6:35 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-10 20:06 Greg KH
2007-07-10 20:06 ` Greg KH
2007-07-12 18:35 ` Nish Aravamudan
2007-07-12 18:41   ` [stable] " Greg KH
2007-07-12 18:46     ` Nish Aravamudan
2007-07-12 18:52       ` Chris Wright
2007-07-12 19:08         ` Nish Aravamudan
2007-07-12 23:02         ` Domenico Andreoli
2007-07-12 23:03         ` Rene Herman
2007-07-13  6:16   ` Bryan Wu
2007-07-13  6:16     ` Greg KH
2007-07-13  6:28       ` Bryan Wu
2007-07-13  6:34         ` Linus Torvalds [this message]
2007-07-13  6:51           ` Chris Wright
2007-07-13  6:58             ` Bryan Wu
2007-07-13  6:47       ` Adrian Bunk
2007-07-13 19:52         ` Greg KH
2007-07-14  0:44         ` H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.0.999.0707122328340.20061@woody.linux-foundation.org \
    --to=torvalds@linux-foundation.org \
    --cc=akpm@linux-foundation.org \
    --cc=bryan.wu@analog.com \
    --cc=chrisw@sous-sol.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nish.aravamudan@gmail.com \
    --cc=stable@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®