Thanks for a quick reply! >> In the old version I was using "git-buildpackage --import-orig" and >> the man page at >> https://manpages.debian.org/jessie/git-buildpackage/git-buildpackage.1.en.html >> documents the ignore-branch flag. > > For buildpackage but not for import-orig. > >> The new "gbp import-orig" seems to miss this: >> https://manpages.debian.org/stretch/git-buildpackage/gbp-import-orig.1.en.html > > See above. I don't think there's a bug here.
So "git-buildpackage --import-orig" and "gbp import-orig" are not supposed to do the same thing? Indeed, this is how it looks now: $ gbp config import-orig.debian-branch import-orig.debian-branch=master $ cat debian/gbp.conf [DEFAULT] # Ignore requirement to use branch name 'master' to make it easier # for contributors to work with feature and bugfix branches ignore-branch = True # Always use pristine tar pristine-tar = True # Sign tags sign-tags = True [import-orig] filter = ['debian/*','debian/*/*','CVS','*.bak','*~','.cvsignore','.#*','autom4te/*','autom4te.cache/*','.svn'] What should I put in my gbp.conf so that 'gbp config import-orig.debian-branch' would become whatever branch is currently checked out instead of default master?

