Re: Review: Visual Studio 2010 compile fix Edit


Richard Shaw <hobbe...@...>
 

On Tue, Dec 18, 2012 at 2:57 AM, dbr/Ben <dbr....@...> wrote:
On 18/12/2012, at 9:00 AM, Richard Shaw wrote:

My github-fu isn't good enough. How would I go about getting a patch
from the pull request so I can test it?


Add the pull-request-creator's repo as a remote, and fetch the changes

$ git remote add frederik
git://github.com/frederikaalund/OpenColorIO.git
$ git fetch frederik

Then either check out the branch temporarily (in "detatched HEAD mode"):

$ git checkout frederik/visual-studio-2010-compile-fix

Or as a tracking branch, which makes a new local branch connected to the
remote:

$ git checkout -t frederik/visual-studio-2010-compile-fix


Or, if you want an actual ye ol' patch, you can append ".patch" to the
Github URL:

https://github.com/imageworks/OpenColorIO/pull/300.patch
That's what I was looking for! I remembered you could do something
like that but I was trying .../pull/300/patch not .patch.

Thanks!

Richard

Join ocio-dev@lists.aswf.io to automatically receive all group messages.