From: Elan Ruusamäe Date: Tue, 25 Aug 2009 12:46:28 +0000 (+0000) Subject: - build branch diff X-Git-Tag: auto/th/amarok-2_2_0-1~3 X-Git-Url: http://git.pld-linux.org/?p=packages%2Famarok.git;a=commitdiff_plain;h=25bb11e2d67acf34ec47cce984c38883ac909941 - build branch diff Changed files: branch.sh -> 1.1 --- diff --git a/branch.sh b/branch.sh new file mode 100644 index 0000000..1b65df3 --- /dev/null +++ b/branch.sh @@ -0,0 +1,20 @@ +#!/bin/sh +set -x +pkg=amarok +branch=1.4 +tag=fdfafa156c9cda88ed3c045445548e4ca2b129bd +#tag=8cdcf9d8b634763b515c419805e98e9aa9107224 +#tag=be0564032fc09a9ad6e5e3f22447e3582473904d +url=git://gitorious.org/amarok/history.git + +if [ ! -d git ]; then + git clone $url git + cd $pkg + git checkout -b $branch origin/$branch + cd .. +fi + +cd git + git pull + git diff $tag > ../$pkg-branch.diff +cd ..