From: "Grant Likely" <grant.likely@secretlab.ca>
To: dhlii@comcast.net
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: how to get individual patches
Date: Sun, 16 Jul 2006 23:30:57 -0600 [thread overview]
Message-ID: <528646bc0607162230p6bc33ee0xc6f5e74e8def251d@mail.gmail.com> (raw)
In-Reply-To: <44BB080E.6060107@dlasys.net>
On 7/16/06, David H. Lynch Jr. <dhlii@dlasys.net> wrote:
> The zlib library was updated within the past month.
> The new zlib code does not work in my environment.
> I have guesses as to why, but I am not a zlib expert and not looking
> to be one.
> I have solved my personal problem by reverting to the older zlib code.
> With that I have 2.6.18-rc4 or whatever is in the linux-2.6 git tree
> as of today working for me.
> I was stuck at 2.6.16.21 before.
>
> So my questions:
>
> How/where do I report a problem ? I would be perfectly happy to help
> whoever is responsible for zlib to work this out.
> But I am not up to doing it myself.
Once you've got the patch extracted (see below); post it to the lkml
with a description of your symptoms and what you are trying to do.
(or post it here, and if nobody knows; then move over to the lkml)
>
> git bisect got me down to a good/bad scenario. But I could not
> provoke git to either pull the offending patch or export the change as a
> patch so that I could back it out myself.
> Now that the final git bisect screen is gone all I have (besides a
> fixed 2.6.18-xx kernel) is I guess the sha has number for the particular
> commit.
git-format-patch <good_sha1>..<bad_sha1>
for example:
$ git-format-patch
0ce030395b92270567423d57d9d432eb77df32f2..8d92bc2270d67a43b1d7e94a8cb6f81f1435fe9a
0001-PCI-Error-handling-on-PCI-device-resume.txt
extracts a single patch file for the
PCI-Error-handling-on-PCI-device-resume.txt commit. If there are more
than one commits between <good_sha1> and <bad_sha1>, then you'll get
more than one patch file extracted.
Then, you can apply the patch reversed to backout the change.
> I suspect that would have been enough to yank just that patch but I
> googled every permutation of git backout or similar things I could think
> of and browsed the git tutorials etc.
> and could not seem to decipher how to do anything usefull with the
> sha id of a single patch.
"git-log <sha1>" will give you the history starting at a particular
commit, which is useful for finding the next commit after it for doing
the git-format-patch command.
Cheers,
g.
--
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195
prev parent reply other threads:[~2006-07-17 5:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-27 18:38 Lite5200 MTD partitions in 2.6 build Rowan, Chad
2006-06-27 19:24 ` White
2006-06-28 7:49 ` how to get individual patches David H. Lynch Jr.
2006-06-28 8:32 ` Alex Zeffertt
2006-06-28 16:22 ` David H. Lynch Jr.
2006-06-28 9:09 ` Grant Likely
2006-06-28 16:18 ` David H. Lynch Jr.
2006-07-14 18:13 ` David H. Lynch Jr.
2006-07-14 18:22 ` Grant Likely
2006-07-17 3:46 ` David H. Lynch Jr.
2006-07-17 5:30 ` Grant Likely [this message]
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=528646bc0607162230p6bc33ee0xc6f5e74e8def251d@mail.gmail.com \
--to=grant.likely@secretlab.ca \
--cc=dhlii@comcast.net \
--cc=linuxppc-embedded@ozlabs.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;
as well as URLs for NNTP newsgroup(s).