Sean Whitton writes ("Bug#841100: dgit: gbp-build fails when on master branch"):
> Package: dgit
> Version: 2.1
> Severity: normal
> dgit passes --git-debian-branch=dgit/sid to gbp-buildpackage(1), which
> causes the build to fail when on a branch called 'master'. Since
> 'master' is the maintainer view, it should be possible to build the
> package from it.
I think passing that option is probably a mistake. Should I just
drop it ?
You may find that
is an easier workaround, although of course building with sbuild is
probably better anyway.