#915629 git-buildpackage: Allow --ignore-branch for 'gbp pq'

#915629#5
Date:
2018-12-05 12:45:59 UTC
From:
To:
When trying to import the patch-queue from a checked out state that is not on a
branch (e.g. from a previous commit which is not the master HEAD), the command
'gbp pq import' fails with

gbp:error: Currently not on a branch

Which is expected, but it would be nice and useful being able to provide a
'--ignore-branch' arg to just force importing the patch queue from the current
commit.

#915629#10
Date:
2018-12-05 13:18:27 UTC
From:
To:
Hi,

That makes sense and would be consistent with other commands. A patch
would be welcome.
 -- Guido

#915629#15
Date:
2018-12-06 23:37:01 UTC
From:
To:
I'm not used to discuss code changes with sending patches and
corrections back and forth by email, on the other hand I see you have
some Pull Requests open in Github... is it ok if I open one and discuss
changes in there?

#915629#20
Date:
2018-12-07 08:16:44 UTC
From:
To:
Hi,

Yes.
 -- Guido

#915629#25
Date:
2018-12-07 13:26:22 UTC
From:
To: