Sean Whitton writes ("Re: Bug#932476: git-debpush gbp/unapplied upstream tree check"): > On Fri 19 Jul 2019 at 10:51PM +01, Ian Jackson wrote: > > As I wrote in private email: > > > > For gbp and unapplied, I think it would be very sensible to check that > > the upstream files are treesame in master and upstream. (For gbp, > > ignoring /.gitignore) > > > > I think this may be a common user error and it's very easy to > > implement. > > I assume the place to look for how to do this would be inside dgit? I > can't immediately see a "very easy" implementation.
I think it's one git diff rune, using the files include/exclude syntax, :!/debian etc. I would open-code it rather than trying to use (or even look at) the code in dgit which ... is a lot more complex. HTH. Ian. -- Ian Jackson <ijack...@chiark.greenend.org.uk> These opinions are my own. If I emailed you from an address @fyvzl.net or @evade.org.uk, that is a private address which bypasses my fierce spamfilter.