* generate a diff against a specific tag in a remote branch
@ 2010-03-11 9:44 Pedro Ribeiro
2010-03-11 10:44 ` Alex Riesen
0 siblings, 1 reply; 2+ messages in thread
From: Pedro Ribeiro @ 2010-03-11 9:44 UTC (permalink / raw)
To: git
Hi all,
I currently have a copy of the kernel TuxOnIce git tree, and the
latest tag is 2.6.33.
I also have added linus tree as a remote branch
(git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git).
What I want to do is to make a patch of the TuxOnIce changes to apply
to the linus' 2.6.33. The problem is that the linus tree keeps
advacing, obviously, and is now at 2.6.34-rc1.
So what I've been trying to do is to make a diff against the 2.6.33
tag of linus' tree. Is this possible?
Thank you very much,
Pedro
PS: Please CC me directly, I'm not on the list.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: generate a diff against a specific tag in a remote branch
2010-03-11 9:44 generate a diff against a specific tag in a remote branch Pedro Ribeiro
@ 2010-03-11 10:44 ` Alex Riesen
0 siblings, 0 replies; 2+ messages in thread
From: Alex Riesen @ 2010-03-11 10:44 UTC (permalink / raw)
To: Pedro Ribeiro; +Cc: git
On Thu, Mar 11, 2010 at 10:44, Pedro Ribeiro <pedrib@gmail.com> wrote:
> I currently have a copy of the kernel TuxOnIce git tree, and the
> latest tag is 2.6.33.
>
> I also have added linus tree as a remote branch
> (git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git).
>
> What I want to do is to make a patch of the TuxOnIce changes to apply
> to the linus' 2.6.33. The problem is that the linus tree keeps
> advacing, obviously, and is now at 2.6.34-rc1.
>
> So what I've been trying to do is to make a diff against the 2.6.33
> tag of linus' tree. Is this possible?
Probably. Try rebasing your TuxOnIce branch on the tag:
$ git checkout -b temporary TuxOnIce
$ git rebase v2.6.33
If it works out (you may have to correct some conflicts) during rebase,
the branch "temporary" can be used to generate a set of patches to
add TuxOnIce to a vanill 2.6.33 (by using git format-patch, for example).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-11 10:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-11 9:44 generate a diff against a specific tag in a remote branch Pedro Ribeiro
2010-03-11 10:44 ` Alex Riesen
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).