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

Re: Consistent patch style



Everything else in Debian I touch uses git formatted patches.

Instead of quilt directly, I frequently use git-buildpackage's pq commands.

https://manpages.debian.org/unstable/gbp-q

For a rust package, it's a few extra steps compared to whatever you do
on quilt, but quilt isn't reliable for me.

I end up running git init; git add -a; git commit -m "Init"
then I run gbp pq import
to get into a git tree with patches applied as git commits.
Make whatever changes I need as git commits.
Then gbp pq export to unapply the patches and return to the branch I
was working on. The patches are staged where they are supposed to be
and listed in debian/patches/series like expected.

Jeremy


Reply to: