Ian Jackson <[email protected]> [16/Mar 11:07am GMT] wrote: > gbp checks your local branch. It would be nice if git-debpush could > do the same. That would avoid slips where you "git-debpush" from an > MR branch. (I don't know if this slip has ever happened but I notice > that, personally, when I'm running git-debpush I worry about it.) > > (You already can't git-debpush from a local WIP branch because > git-debpush will notice that salsa isn't up to date. You normally > can't git-debpush from a *merged* MR branch because salsa usually > deletes the branch when merging.) > > IDK if it ought to be enabled by default. If it does it should > tolerate at least both "main" and "master".
I don't think we should turn a check like this on by default but instead block on #1105759 and turn the check on if there is a Debian branch name specified in debian/gbp.conf. -- Sean Whitton

