* Creating a patch against upstream kernel 3.7.4
@ 2013-01-23 1:36 Steven Haigh
[not found] ` <50FF3EA9.1020109-tY1ak9Q0PTWHXe+LvDLADg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Steven Haigh @ 2013-01-23 1:36 UTC (permalink / raw)
To: linux-bcache-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 945 bytes --]
Hi all,
I'm quite a n00b when it comes to the ins and outs of using git... My
last real project using something like this was when CVS was all the rage!
I'm wanting to try to make an automated method to create a single patch
file for all the changes required against the upstream kernel version.
This will allow me to easily manage changes until things are merged. It
will also allow a one-liner in my Xen Dom0 scripting to let me patch
bcache into the kernel (good!).
Does git have a way to do this?
I just tried to check out the bcache tree, but I just got:
$ git clone http://evilpiepirate.org/git/linux-bcache.git
Initialized empty Git repository in /home/netwiz/linux-bcache/.git/
error: RPC failed; result=22, HTTP code = 405
and nothing more.
--
Steven Haigh
Email: netwiz-tY1ak9Q0PTWHXe+LvDLADg@public.gmane.org
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4965 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Creating a patch against upstream kernel 3.7.4
[not found] ` <50FF3EA9.1020109-tY1ak9Q0PTWHXe+LvDLADg@public.gmane.org>
@ 2013-01-24 23:41 ` Kent Overstreet
0 siblings, 0 replies; 2+ messages in thread
From: Kent Overstreet @ 2013-01-24 23:41 UTC (permalink / raw)
To: Steven Haigh; +Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA
On Wed, Jan 23, 2013 at 12:36:41PM +1100, Steven Haigh wrote:
> Hi all,
>
> I'm quite a n00b when it comes to the ins and outs of using git...
> My last real project using something like this was when CVS was all
> the rage!
>
> I'm wanting to try to make an automated method to create a single
> patch file for all the changes required against the upstream kernel
> version. This will allow me to easily manage changes until things
> are merged. It will also allow a one-liner in my Xen Dom0 scripting
> to let me patch bcache into the kernel (good!).
>
> Does git have a way to do this?
Yeah. You don't have to deal with actual patches. Just clone one
repository, then add the other as a remote
cd linux-bcache
git remote add linux-stable git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
git fetch --all
git checkout bcache
git merge linux-stable/linux-3.7.y
Later, to get the latest linux-stable changes you can just rerun that
git merge command, but when I update the bcache branch since I always
force update/rewrite history you'll have to reset and start over:
git reset --hard origin/bcache
git merge linux-stable/linux-3.7.y
> I just tried to check out the bcache tree, but I just got:
> $ git clone http://evilpiepirate.org/git/linux-bcache.git
> Initialized empty Git repository in /home/netwiz/linux-bcache/.git/
> error: RPC failed; result=22, HTTP code = 405
Old version of git that doesn't support http redirects - you'll need to
upgrade git, or use
git clone http://atlas.evilpiepirate.org/git/linux-bcache.git
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-24 23:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-23 1:36 Creating a patch against upstream kernel 3.7.4 Steven Haigh
[not found] ` <50FF3EA9.1020109-tY1ak9Q0PTWHXe+LvDLADg@public.gmane.org>
2013-01-24 23:41 ` Kent Overstreet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).