On Tue, Jun 1, 2010 at 11:37 PM, Michael Wild <span dir="ltr"><<a href="mailto:themiwi@gmail.com">themiwi@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div class="im"><br>
On 2. Jun, 2010, at 6:47 , James Bigler wrote:<br>
<br>
> I have a change I made to master that I didn't push before we changed to the<br>
> New World Order:<br>
><br>
> $ git branch<br>
> * master<br>
> $ git log origin/master..master<br>
> commit fcd7a1edcb414a6050dbbcefc0f786143b7fba8a<br>
> Merge: 0d30e3f 7f61960<br>
> Author: James Bigler <<a href="mailto:jamesbigler@gmail.com">jamesbigler@gmail.com</a>><br>
> Date:   Tue Jun 1 21:27:19 2010 -0600<br>
><br>
>    Merge branch 'master' of git://<a href="http://cmake.org/cmake" target="_blank">cmake.org/cmake</a><br>
><br>
> commit 0d30e3fe91717f519722a71470a5180c13818a2a<br>
> Author: James Bigler <<a href="mailto:jamesbigler@gmail.com">jamesbigler@gmail.com</a>><br>
> Date:   Wed May 12 16:38:51 2010 -0600<br>
><br>
>    Fixed: CUDA_VERSION_MAJOR/MINOR now computed after first run.<br>
><br>
>    CUDA_VERSION_MAJOR and CUDA_VERSION_MINOR were only computed when<br>
> CUDA_VERSION was first<br>
>    computed.  Subsequent runs of FindCUDA would not have<br>
> CUDA_VERSION_MAJOR/MINOR set.  We<br>
>    now extract the major and minor versions from the CUDA_VERSION cache<br>
> variable every run.<br>
><br>
> ===================================<br>
> Question: How do I make a topic branch out of this change?<br>
><br>
<br>
</div># Option 1:<br>
#<br>
# Create a new topic branch whose HEAD is the commit you want<br>
git branch topics/FixCudaVersion 0d30e3fe91717f519722a71470a5180c13818a2a<br>
<br>
<br>
# Option 2:<br>
#<br>
# If your master branch has other local commits which you don't want<br>
# to be present in your topic branch, you can either do this:<br>
git branch topics/FixCudaVersion origin/master<br>
git checkout topics/FixCudaVersion<br>
git cherry-pick 0d30e3fe91717f519722a71470a5180c13818a2a<br>
<br>
# Option 3:<br>
#<br>
# Or you could do an interactive rebase onto origin/master<br>
git branch topics/FixCudaVersion 0d30e3fe91717f519722a71470a5180c13818a2a<br>
git checkout topics/FixCudaVersion<br>
git rebase -i origin/master<br>
# follow the instructions in the file that should pop up in your favorite editor...<br>
<br>
# You then can reset your master if you like to<br>
# BEWARE, THIS MIGHT DESTROY INFORMATION!<br>
git checkout master<br>
git reset --hard origin/master<br>
# the HEAD of master is now at the same commit as origin/master is.<br>
<div class="im"><br>
> Question: Do I need to push this change to "next"?<br>
><br>
> Question: If this is a bug fix, will the release manager push it into 2.8.2<br>
> at some point?<br>
<br>
<br>
</div>I'll leave the rest of the question for someone from Kitware to answer since I have no idea (e.g. do you have commit-rights?).<br>
<br>
HTH<br>
<font color="#888888"><br>
Michael<br>
<br>
</font></blockquote></div><br>Thanks Michael.  I'll try these suggestions.<br><br>CMake devs, could you comment on my last two questions?<br><br>* Question: Do I need to push this change to "next"?<br>
<br>* Question: If this is a bug fix, will the release manager push it 
into 2.8.2 at some point?<br>
<br>James<br>