On Mon, Oct 17, 2016 at 06:13:37PM +0100, Ian Jackson wrote:
> Sean Whitton writes ("Bug#841100: dgit: gbp-build fails when on master
> > 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 ?
I think you can just drop it, yes. The user should be able to set a
Debian branch of their choice in debian/gbp.conf, but you're
unconditionally overriding that.
> You may find that --gbp-build:--git-ignore-branch is an easier
> workaround, although of course building with sbuild is probably better
Right, but I only want to build with sbuild right before an upload.