]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - branch.sh
up to 1.4.44
[packages/lighttpd.git] / branch.sh
index 18b1adf2b9729d2e3776192a5fc50474c141de45..72c2ffc8efbd45cd7797a6a03f1a9a7909ee9687 100755 (executable)
--- a/branch.sh
+++ b/branch.sh
@@ -3,8 +3,8 @@ set -e
 svn=svn://svn.lighttpd.net/lighttpd
 url=https://git.lighttpd.net/lighttpd/lighttpd1.4.git
 package=lighttpd
-tag=lighttpd-1.4.40
-branch=personal/gstrauss/master
+tag=lighttpd-1.4.42
+branch=master
 out=$package-branch.diff
 repo=$package.git
 
@@ -41,6 +41,12 @@ cd $repo
        git log -p --reverse $tag..$branch | filter > ../$out.tmp
 cd ..
 
+if ! test -s $out.tmp; then
+       echo >&2 "No diffs..."
+       rm -f $out.tmp
+       exit 0
+fi
+
 if cmp -s $out{,.tmp}; then
        echo >&2 "No new diffs..."
        rm -f $out.tmp
This page took 0.023126 seconds and 4 git commands to generate.