* Andrew Morton <[email protected]> wrote:
> On Thu, 6 Dec 2007 18:28:25 -0500
> "Miles Lane" <[email protected]> wrote:
>
> > How can I find Roland's patches, so I can try backing them out?
> > I looked in the broken out patches and only saw one related
> > to VDSO. Backing it out did not help. I tried searching for
> > messages to LKML sent by "roland" but mostly got a bunch of
> > folks sending spam.
>
> They're all clumped into git-x86.patch. Hard.
in theory the git merges could be generated as a flat series of patch
files:
x86.git.foo-fixes.patch
x86.git.bar-updates.patch
x86.git.foo-fixes-feh.patch
...
which could also include the commit log. "git-log -p" might be a
suitable generator. For example, x86.git can be processed per commit,
via this script:
for N in `git-rev-list --reverse --no-merges --remove-empty master..mm`; do
git-log -p $N
done
the following git-export-quilt script (just wrote it, might be buggy, so
careful - and it blows away the patches/ directory wherever you run it)
will generate a series file into patches/series that can be applied via
quilt:
rm -rf patches
mkdir patches
for N in `git-rev-list --reverse --no-merges --remove-empty master..mm`; do
git-log -p -1 $N > .tmp
export SUBJECT=`head -5 .tmp | tail -1`
# generate filename out of subject line:
FILE=x86.git-"`echo $SUBJECT | cut -c10- |
tr '[:punct:] \t' '-' | tr -s - | tr '[:upper:]' '[:lower:]'`"
# generate unique name:
while [ -f patches/$FILE.patch ]; do FILE="$FILE"_; done
echo $FILE.patch
mv .tmp patches/$FILE.patch
echo $FILE.patch >> patches/series
done
ls -l patches/series
i ran this script over x86.git and it produced a patch series with 247
patches that quilt was able to push correctly. (in theory this concept
should work for other git trees too - but i have not tried it)
this would increase the series size quite substantially though - but it
would make cherry-picking and patch based bisection a lot easier.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]