[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gbp buildpackage test build with uncommitted changes



On Tue, Mar 19, 2019 at 11:42 AM Adam Lewenberg wrote:
>
> On 3/19/2019 3:08 AM, Emmanuel Arias wrote:
> > HI,
> >
> >
> >>> Using `--git-ignore-new` will get my changes ignore entirely, and the
> >>> build will keep complaining about the same error.
> >>>
> >>> What's the solution? Thx
> >>>
> > That is weird. Currently I am working with gbp and --git-ignore-new work
> > for me.
>
>
> The original question was asking how to use "gbp buildpackage" to build
> the package using any uncommitted files. Doesn't --git-ignore-new
> _ignore_ the uncommitted files?

Thanks a lot Adam for paraphrasing what I meant.

Yes, I noticed that `--git-ignore-new` will ignore my changes entirely, and the
build will keep complaining about the same error that I've already fixed.

> One possibility would be to create a test branch, commit your changes to
> this test branch, and then use the --git-debian-branch option to build
> on this test branch. You can then throw away the branch when you are done.

Gotya. Thx.


Reply to: