how to efficiently work through generating patches using git and macports build process?
Michael Dickens
michaelld at macports.org
Wed Aug 30 16:41:56 UTC 2017
What Mojca wrote is what I do too. Simple but very effective! - MLD
On Wed, Aug 30, 2017, at 12:37 PM, Ken Cunningham wrote:
> >
> > cd $(port work foo)
> > cd foo-version
> > sudo git init .
> > sudo git add -A
> > <make edits>
> > git diff > /tmp/my-patches.diff
> >
> > And more or less make sure that you don't do "sudo port -v install"> > without, say the "-k" flag to keep the files before your run "git
> > diff".
> >
>
> This is what I'm talking about, yes.
>
> I notice you didn't make a branch and check it out --> just
> `git add -A`> and then diff it in the end. I didn't know you could do it like that.>
> Thanks for the pointers. I'll give this a try!
>
> Ken
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20170830/839f90a3/attachment.html>
More information about the macports-dev
mailing list