Re: [GIT PATCH] USB fixes for 2.6.28-git

From: Junio C Hamano
Date: Mon Nov 24 2008 - 22:58:36 EST




Greg KH <gregkh-l3A5Bk7waGM@xxxxxxxxxxxxxxxx> writes:

> On Thu, Nov 20, 2008 at 01:23:51PM -0800, Linus Torvalds wrote:
>>
>>
>> On Wed, 19 Nov 2008, Greg KH wrote:
>> >
>> > Please pull from:
>> > master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6.git/
>>
>> "Already up-to-date".
>>
>> I think you forgot to actually push them out.
>
> Crap, you're right, they are now there, sorry about that.

I've been wondering if git can do something to avoid things like this.

For example, if you push into a particular branch of a particular
repository _only_ to ask Linus to pull and for no other purpose, one
possible solution may be to trigger a hook on the receiving end of your
push (i.e. the public repository Linus is asked to pull from) to send out
the "Please pull from" message (I presume this would be a no-go as there
is not much room for you to customize the message).

Alternatively, we may want to give an option to git-request-pull to
actually run "git push" to the destination.

Thoughts? Is it "none of Git's business"?


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/