Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential
Restrictions: x-dgit-intree-only x-dgit-git-only
+Tests: gitattributes
+Tests-Directory: tests/tests
+Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, bsdgames
+
Tests: defdistro-mirror mirror mirror-debnewgit mirror-private
Tests-Directory: tests/tests
Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, rsync
t-dependencies bsdgames
t-archive-none example
-t-worktree 1.0
+v=1.0
+t-worktree $v
cd $p
-mkdir af
+: ----- convert to "3.0 (quilt)"
+
+tar --exclude=debian -C .. -zcf ../${p}_${v}.orig.tar.gz $p
+dch -v 1.0-1 -m convert
+mkdir -p debian/source
+echo '3.0 (quilt)' >debian/source/format
+
+v=1.0-1
: ----- make everything break -----
+mkdir af
+
badattr1 () {
local filename=$1
local attrspec=$2
echo >>af/$filename 'id $Id: $'
echo >>af/$filename 'id $Id: SPLARK $'
echo >>.gitattributes "af/$filename" "$attrspec"
+ EDITOR=true VISUAL=true dpkg-source --commit
+ false
+ #"add $filename"
}
badattr () {
dpkg-source -b .
-t-dgit import-dsc ../${p}_1.0.dsc +import
+t-dgit import-dsc ../${p}_${v}.dsc +import
for f in af/*; do
git cat-file blob "import:$f" | sha256sum | \