I just migrated my packaging (collab-maint/mg) from darcs to git.
I maintain debian/ as a separate repo, which appears to correspond to:
} elsif (-d "debian/_darcs") {
$onlydebian = 1;
return "darcs";
}
There is no equivalent for git, so debcommit complains.
I think you want:
} elsif (-d "debian/.git") {
$onlydebian = 1;
return "git";
}
I don't know if other changes are also required.
--- /etc/devscripts.conf ---
--- ~/.devscripts ---
BTS_CACHE=no
DEBCHANGE_RELEASE_HEURISTIC=changelog
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-tc -Zxz"
DEBUILD_LINTIAN_OPTS="--info --display-info --display-experimental --pedantic --show-overrides --color auto"
DEB_BUILD_HARDENING=1
DEB_BUILD_OPTIONS=parallel=$(getconf _NPROCESSORS_ONLN || echo 1)