[vtk-developers] Strange repo happenings with vtkOpenGLProjectedTetrahedraMapper

Bill Lorensen bill.lorensen at gmail.com
Thu Dec 22 11:51:35 EST 2011


Wow. git is very smart. A lot smarter than me.

I thought I was losing it...

On Thu, Dec 22, 2011 at 11:17 AM, Brad King <brad.king at kitware.com> wrote:
> On 12/22/2011 10:53 AM, Marcus D. Hanwell wrote:
>>
>> I can see what Bill means, if you look at commit 484a24c you can see
>> that vtkOpenGLProjectedTetrahedraMapper had the vtkstd stuff removed,
>> and that commit was merged. If you look at the commits that touched
>> the file,
>>
>> git log -p VolumeRendering/vtkOpenGLProjectedTetrahedraMapper.cxx
>>
>> You cannot see that commit applied to the file anymore. I am guessing
>> it got clobbered when a conflict was resolved by Utkarsh.
>>
>> Marcus
>
>
> This command will show merges that touched the file since your commit:
>
>  $ git rev-list 484a24c..master --merges |
>   git --paginate diff-tree --color --stdin -r -m -p -Svtkstd \
>       -- VolumeRendering/vtkOpenGLProjectedTetrahedraMapper.cxx
>
> From that output one can see that these commits:
>
>  $ git show -m -Svtkstd 174c39e8
>  $ git show -m -Svtkstd 3f0107d6
>
> favored the topic's side rather than master's side.  Since the result
> of the merge is identical to one of its parents Git does not consider
> the merge to have made any change so it does not show up in a normal
> git log for the file.
>
> -Brad
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>



-- 
Unpaid intern in BillsBasement at noware dot com



More information about the vtk-developers mailing list