]> git.pld-linux.org Git - packages/exim.git/blame - branch.sh
- up to 4.91
[packages/exim.git] / branch.sh
CommitLineData
acfdf005
AM
1#!/bin/sh
2set -e
3url=git://git.exim.org/exim.git
4package=exim
0cc0b84b 5tag=exim-4_91
b6b7ca7f 6branch=exim-4_90+fixes
acfdf005
AM
7out=$package-git.patch
8repo=$package.git
9
10# use filterdiff, etc to exclude bad chunks from diff
11filter() {
12 cat
13}
14
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 ..
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.079679 seconds and 4 git commands to generate.