'
}
-t-gdr-branch-structure () {
+t-gdr-good () {
local state=$1
+ local beforetag=$2 # say HEAD to skip this check
# state should be one of
# laundered
# stitched
# patches
+ git diff --quiet ${beforetag-t.before} -- ':.' ':!debian/patches'
+
local etype netype
case $state in
done
git commit -m "MIXED add both ($token)"
}
+
+t-make-new-upstream-tarball () {
+ local uv=$1
+ git checkout make-upstream
+ # leaves ust set to filename of orig tarball
+ echo "upstream $uv" >>docs/README
+ git commit -a -m "upstream $uv tarball"
+ ust=example_$uv.orig.tar.gz
+ git archive -o ../$ust --prefix=example-2.0/ make-upstream
+}