'
}
-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 ${beforetag-t.before} -- ':.' ':!debian/patches'
+
local etype netype
case $state in
done
}
+
+t-some-changes () {
+ local token=$1
+
+ echo >>debian/zorkmid "// debian $token"
+ git add debian/zorkmid
+ git commit -m "DEBIAN add zorkmid ($token)"
+
+ echo >>src.c "// upstream $token"
+ git commit -a -m "UPSTREAM edit src.c ($token)"
+
+ for f in debian/zorkmid src.c; do
+ echo "// both! $token" >>$f
+ git add $f
+ done
+ git commit -m "MIXED add both ($token)"
+}