#694123 debcommit: support $onlydebian=1 for git

Package:
devscripts
Source:
devscripts
Description:
scripts to make the life of a Debian Package maintainer easier
Submitter:
"Trent W. Buck"
Date:
2012-11-24 06:18:05 UTC
Severity:
wishlist
#694123#5
Date:
2012-11-24 06:15:28 UTC
From:
To:
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)