<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div style="font-family:Arial;">What Mojca wrote is what I do too. Simple but very effective! - MLD<br></div>
<div style="font-family:Arial;"><br></div>
<div style="font-family:Arial;">On Wed, Aug 30, 2017, at 12:37 PM, Ken Cunningham wrote:<br></div>
<div style="font-family:Arial;">> ><br></div>
<div style="font-family:Arial;">> > cd $(port work foo)<br></div>
<div style="font-family:Arial;">> > cd foo-version<br></div>
<div style="font-family:Arial;">> > sudo git init .<br></div>
<div style="font-family:Arial;">> > sudo git add -A<br></div>
<div style="font-family:Arial;">> > <make edits><br></div>
<div style="font-family:Arial;">> > git diff > /tmp/my-patches.diff<br></div>
<div style="font-family:Arial;">> ><br></div>
<div style="font-family:Arial;">> > And more or less make sure that you don't do "sudo port -v install"<br></div>
<div style="font-family:Arial;">> > without, say the "-k" flag to keep the files before your run "git<br></div>
<div style="font-family:Arial;">> > diff".<br></div>
<div style="font-family:Arial;">> ><br></div>
<div style="font-family:Arial;">><br></div>
<div style="font-family:Arial;">> This is what I'm talking about, yes.<br></div>
<div style="font-family:Arial;">><br></div>
<div style="font-family:Arial;">> I notice you didn't make a branch and check it out --> just `git add -A`<br></div>
<div style="font-family:Arial;">> and then diff it in the end. I didn't know you could do it like that.<br></div>
<div style="font-family:Arial;">><br></div>
<div style="font-family:Arial;">> Thanks for the pointers. I'll give this a try!<br></div>
<div style="font-family:Arial;">><br></div>
<div style="font-family:Arial;">> Ken<br></div>
<div style="font-family:Arial;">><br></div>
<div style="font-family:Arial;"><br></div>
</body>
</html>