diff <<END - debian/patches/series
ups-topic/ups-yml
-spongiform-upstream-new-file-incl-change
-zorkmid-options-=-42
+spongiform-upstream-new-file-incl-change.patch
+zorkmid-options-=-42.patch
END
for f in `cat debian/patches/series`; do
git clean -xdf
# We need to make a patches-unapplied version
-unpa=$(git-log --pretty=format:'%H' --grep '^\[dgit import unpatched')
+unpa=$(git log --pretty=format:'%H' --grep '^\[dgit import unpatched')
git checkout -b for-gbp
git reset "$unpa" .
git reset HEAD debian
mv ../this.cmp ../last.cmp
done
-echo ok.
+t-ok