]> git.pld-linux.org Git - packages/gcc.git/blame - branch.sh
- release 2, oneline fix for sigsegv in libgomp
[packages/gcc.git] / branch.sh
CommitLineData
061395ca
ER
1#!/bin/sh
2set -e
3c3d5fe9 3url=git://gcc.gnu.org/git/gcc.git
061395ca 4package=gcc
9a77719d 5tag=releases/gcc-13.2.0
a1f9a69a 6branch=releases/gcc-13
061395ca 7out=$package-branch.diff
3c3d5fe9 8repo=$package.git
061395ca
ER
9
10# use filterdiff, etc to exclude bad chunks from diff
11filter() {
3c3d5fe9 12 cat
061395ca
ER
13}
14
3c3d5fe9
AM
15if [ ! -d $repo ]; then
16 git clone --bare $url -b $branch $repo
17fi
18
19cd $repo
20 git fetch origin +$branch:$branch +refs/tags/$tag:refs/tags/$tag
21 git log -p --reverse $tag..$branch ":(exclude)doc/doc-*" ":(exclude)test" ":(exclude).*" | filter > ../$out.tmp
22cd ..
061395ca
ER
23
24if cmp -s $out{,.tmp}; then
25 echo >&2 "No new diffs..."
26 rm -f $out.tmp
27 exit 0
28fi
29mv -f $out{.tmp,}
30
31../md5 $package.spec
32../dropin $out
This page took 0.405478 seconds and 4 git commands to generate.