Sean Whitton writes ("Bug#1005873: [git-buildpackage/master] pq: Check if repo 
is clean before importing patches"):
> On Wed 16 Feb 2022 at 02:39PM +01, Andrej Shadura wrote:
> > gbp:error: Use --ignore-new to ignore.
> > dgit: failed command: sh -ec 'exec >/dev/null; exec "$@"' x gbp pq import
> 
> Sounds like dgit should start passing --ignore-new in this case?

Well, maybe.  If done via the command line, dgit ought to do some kind
of dance to work with old gbp, which compplicates matters.  But maybe
dgit should provide a .git/gbp.conf in the playtree, which could be
used to override any other troublesome settings.

The difficulty here is just the .pc directory.   Perhaps dgit ought to
remove it or move it aside, before running gbp pq.

If we did that then we might want to explicitly *enable* the new
checks.

Ian.

-- 
Ian Jackson <ijack...@chiark.greenend.org.uk>   These opinions are my own.  

Pronouns: they/he.  If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.

Reply via email to