svn=svn://svn.lighttpd.net/lighttpd
url=https://git.lighttpd.net/lighttpd/lighttpd1.4.git
package=lighttpd
-tag=lighttpd-1.4.40
+tag=lighttpd-1.4.41
branch=master
out=$package-branch.diff
repo=$package.git
filter() {
set -$d
# Excluding files which change version or were not in dist tarball
- filterdiff \
+ filterdiff -p1 \
-x 'CMakeLists.txt' \
-x 'configure.ac' \
-x 'SConstruct' \
+ -x 'packdist.sh' \
| cat
}
fi
cd $repo
- git fetch
- git diff $tag..$branch | filter > ../$out.tmp
+ git fetch origin +$branch:refs/remotes/origin/$branch +refs/tags/$tag:refs/tags/$tag
+ git log -p --reverse $tag..$branch | filter > ../$out.tmp
cd ..
if cmp -s $out{,.tmp}; then