I would go with the format-patch route and also attach the first line from the command:<div><ul><li>git show origin/master</li></ul><div>This will make it easier to apply your patch.</div><br><div class="gmail_quote">On Thu, Aug 12, 2010 at 10:32 AM, Elvis Dowson <span dir="ltr"><<a href="mailto:elvis.dowson@mac.com">elvis.dowson@mac.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">Hi,<div class="im"><div><br><div><div>On Aug 12, 2010, at 6:08 PM, AGPX wrote:</div>
<br><blockquote type="cite"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:'Courier New', courier, monaco, monospace, sans-serif;font-size:10pt"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<span style="font-family:arial, helvetica, sans-serif">I'm not sure to have the latest version of VTK (I have downloaded it via git about two months ago). I don't know much about git, but I think could be dangerous to create a patch if the mapper was modified for any reason meantime. Am I right?</span></div>
</div></div></span></blockquote><br></div></div></div><div>If you have downloaded VTK from the git repository, then you can execute the following commands:</div><div><br></div><div>git add .</div><div>git commit -a -m "VTK: Fixed bug 8430."</div>
<div>git format-patch -1</div><div><br></div><div><br></div><div>This will give you the patch in the patch format.</div><div><br></div><div>Best regards,</div><div><br></div><font color="#888888"><div>Elvis Dowson</div></font></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Robert Maynard<br>
</div>