public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Travis <travis@sgi.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: Yinghai Lu <yinghai@kernel.org>, "H. Peter Anvin" <hpa@zytor.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] x86: arch_probe_nr_irqs
Date: Wed, 14 Jan 2009 13:26:22 -0800	[thread overview]
Message-ID: <496E587E.6010503@sgi.com> (raw)
In-Reply-To: <20090114201152.GA31581@elte.hu>

Very cool, thanks!!

The one thing I always get hung up on is what args to use with the git
rebase -i command.  Say I want to edit 4a046d1 (which I do ;-), I see
it in my repo with git-log (3rd one down):

commit e46d517...
Merge: a4a0acf... 4a046d1...
Author: Ingo Molnar <mingo@elte.hu>

    Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/travis/linux-2.6-cpus4096-for-ingo into cpus4096

commit a4a0acf...
Author: Suresh Siddha <suresh.b.siddha@intel.com>

    x86: fix broken flush_tlb_others_ipi()

commit 4a046d1...
Author: Yinghai Lu <yinghai@kernel.org>

    x86: arch_probe_nr_irqs

commit e65e49d...
Author: Mike Travis <travis@sgi.com>

    irq: update all arches for new irq_desc


So, upstream is tip/cpus4096 yes?  But then:

: git-rebase -i tip/cpus4096
Nothing to do

Attempting other args proved equally fruitless.

Thanks,
Mike

Ingo Molnar wrote:
... You should just create a -git based repo on 
> kernel.org:
> 
>   cd /pub/scm/linux/kernel/git/travis/
>   rm -rf linux-2.6-cpus4096-for-ingo
>   git-clone --bare --shared ../torvalds/linux-2.6.git linux-2.6-cpus4096-for-ingo
> 
> that's all - you dont ever have to touch the master.kernel.org bits on 
> that box anymore. Then you can clone it (via ssh) to your local box:
> 
>   git clone ssh://master.kernel.org/pub/scm/linux/kernel/git/travis/linux-2.6-cpus4096-for-ingo
> 
> that's it - you are all set!
> 
> Now you can go into your repo, and do a few convenience things like:
> 
>      git-remote add linus git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
>      git-remote add tip git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git
> 
>      git remote update
> 
> But these dont ever go to your master.kernel.org tree. Your local 'master' 
> branch is what you will push out most of the time.
> 
> To prepare a tree for me, if you want to base it on the latest 
> tip/cpus4096, you do this:
> 
>      git checkout master
>      git reset --hard tip/cpus4096
> 
> that's all. You can then (force-)push this out to your kernel.org repo 
> via:
> 
>      git push -f origin master
> 
> and you can manipulate your master branch and push it out to your 
> master.kernel.org repo whenever you want to.
> 
> If you want a separate 'release' branch, you can do it too:
> 
>    git checkout master
> 
>    [ prepare your master branch with the bits. ]
> 
>    git checkout -b for-ingo
>    git push origin for-ingo
> 
>    [ git checkout master ]
> 
> That's it. If the for-ingo branch already exists and you know that it 
> contains no bits that i might pull in parallel with you updating it, you 
> can force-push it as well:
> 
>    git checkout for-ingo
>    git reset --hard master          # set it to your release bits
>    git push -f origin for-ingo
> 
> that's it really.
> 
> 	Ingo


  reply	other threads:[~2009-01-14 21:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-12  5:42 [PATCH] x86: include apicnum.h in acpidef.h Yinghai Lu
2009-01-12  9:19 ` Ingo Molnar
2009-01-12  9:26   ` Ingo Molnar
2009-01-12  9:27     ` Ingo Molnar
2009-01-12 19:53     ` [PATCH] x86: arch_probe_nr_irqs Yinghai Lu
2009-01-12 23:07       ` Mike Travis
2009-01-14 11:19         ` Ingo Molnar
2009-01-14 19:50           ` Mike Travis
2009-01-14 20:11             ` Ingo Molnar
2009-01-14 21:26               ` Mike Travis [this message]
2009-01-15  9:49                 ` Ingo Molnar
2009-01-15 20:53                   ` Mike Travis
2009-01-15 21:02                     ` Ingo Molnar
2009-01-12 19:09 ` [PATCH] x86: include apicnum.h in acpidef.h Mike Travis

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=496E587E.6010503@sgi.com \
    --to=travis@sgi.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    --cc=yinghai@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