[Insight-developers] Renames in ITK history :)

Brad King brad.king at kitware.com
Tue Aug 10 13:32:57 EDT 2010


Hi Folks,

FYI, from a version control perspective Hans did a nice job
finishing the CONSOLIDATED_MORPHOLOGY move out of Review.
Take a look at this commit:

  http://itk.org/gitweb?p=ITK.git;a=commitdiff;h=19f50f6b

One can see a histogram of the changes as below.  Note how Git
detects the renames correctly even though there are some small
code changes at the same time.  The key is that the new files
were added and the old files removed in the same commit.  This
is helpful because "git blame" knows how to follow the renames.

-Brad

$ git show --stat=150,120 -M 19f50f6b
commit 19f50f6b3aa6a0e3a3f9008d88a3ed5fbfbbfbfa
Author: Hans Johnson <hans-johnson at uiowa.edu>
Date:   Mon Aug 9 14:29:56 2010 -0500

    Move rest of CONSOLIDATED_MORPHOLOGY from Review

    The CONSOLIDATED_MORPHOLOGY move form review directory
    was not done completely, and still required that the
    USE_REVIEW was on.  This rest of the needed dependant
    files have been moved from the REVIEW directory.

 Code/{Review => Algorithms}/itkAnchorCloseImageFilter.h                          |   14 +++---
 Code/{Review => Algorithms}/itkAnchorDilateImageFilter.h                         |   10 ++--
 Code/{Review => Algorithms}/itkAnchorErodeDilateImageFilter.h                    |    8 ++--
 Code/{Review => Algorithms}/itkAnchorErodeDilateImageFilter.txx                  |   34 +++++++-------
 Code/{Review => Algorithms}/itkAnchorErodeDilateLine.h                           |   10 ++--
 Code/{Review => Algorithms}/itkAnchorErodeDilateLine.txx                         |   54 ++++++++++++------------
 Code/{Review => Algorithms}/itkAnchorErodeImageFilter.h                          |   10 ++--
 Code/{Review => Algorithms}/itkAnchorHistogram.h                                 |   64 ++++++++++++++--------------
 Code/{Review => Algorithms}/itkAnchorOpenCloseImageFilter.h                      |   22 +++++-----
 Code/{Review => Algorithms}/itkAnchorOpenCloseImageFilter.txx                    |   70 +++++++++++++++---------------
 Code/{Review => Algorithms}/itkAnchorOpenCloseLine.h                             |   10 ++--
 Code/{Review => Algorithms}/itkAnchorOpenCloseLine.txx                           |   20 ++++----
 Code/{Review => Algorithms}/itkAnchorOpenImageFilter.h                           |   16 ++++----
 Code/{Review => Algorithms}/itkAnchorUtilities.h                                 |   12 +++---
 Code/{Review => Algorithms}/itkAnchorUtilities.txx                               |   18 ++++----
 Code/{Review => Algorithms}/itkBasicDilateImageFilter.h                          |   26 ++++++------
 Code/{Review => Algorithms}/itkBasicDilateImageFilter.txx                        |    8 ++--
 Code/{Review => Algorithms}/itkBresenhamLine.h                                   |    4 +-
 Code/{Review => Algorithms}/itkBresenhamLine.txx                                 |   18 ++++----
 Code/{Review => Algorithms}/itkFlatStructuringElement.h                          |   42 +++++++++---------
 Code/{Review => Algorithms}/itkFlatStructuringElement.txx                        |  138 ++++++++++++++++++++++++++++++------------------------------
 Code/{Review => Algorithms}/itkKernelImageFilter.h                               |   14 +++---
 Code/{Review => Algorithms}/itkKernelImageFilter.txx                             |    4 +-
 Code/{Review => Algorithms}/itkMovingHistogramDilateImageFilter.h                |   22 +++++-----
 Code/{Review => Algorithms}/itkMovingHistogramErodeImageFilter.h                 |   22 +++++-----
 Code/{Review => Algorithms}/itkMovingHistogramImageFilter.h                      |   34 +++++++-------
 Code/{Review => Algorithms}/itkMovingHistogramImageFilter.txx                    |   48 ++++++++++----------
 Code/{Review => Algorithms}/itkMovingHistogramImageFilterBase.h                  |   34 +++++++-------
 Code/{Review => Algorithms}/itkMovingHistogramImageFilterBase.txx                |   20 ++++----
 Code/{Review => Algorithms}/itkMovingHistogramMorphologicalGradientImageFilter.h |   26 ++++++------
 Code/{Review => Algorithms}/itkMovingHistogramMorphologyImageFilter.h            |   40 +++++++++---------
 Code/{Review => Algorithms}/itkMovingHistogramMorphologyImageFilter.txx          |    4 +-
 Code/{Review => Algorithms}/itkSharedMorphologyUtilities.h                       |    8 ++--
 Code/{Review => Algorithms}/itkSharedMorphologyUtilities.txx                     |   66 ++++++++++++++--------------
 Code/{Review => Algorithms}/itkVanHerkGilWermanDilateImageFilter.h               |    8 ++--
 Code/{Review => Algorithms}/itkVanHerkGilWermanErodeDilateImageFilter.h          |    8 ++--
 Code/{Review => Algorithms}/itkVanHerkGilWermanErodeDilateImageFilter.txx        |   18 ++++----
 Code/{Review => Algorithms}/itkVanHerkGilWermanErodeImageFilter.h                |    8 ++--
 Code/{Review => Algorithms}/itkVanHerkGilWermanUtilities.h                       |   12 +++---
 Code/{Review => Algorithms}/itkVanHerkGilWermanUtilities.txx                     |   30 +++++++-------
 Code/{Review => BasicFilters}/itkBasicErodeImageFilter.h                         |   28 ++++++------
 Code/{Review => BasicFilters}/itkBasicErodeImageFilter.txx                       |   10 ++--
 Code/{Review => BasicFilters}/itkBoxImageFilter.h                                |   12 +++---
 Code/{Review => BasicFilters}/itkBoxImageFilter.txx                              |   12 +++---
 x                                                                                |   42 ------------------
 45 files changed, 548 insertions(+), 590 deletions(-)


More information about the Insight-developers mailing list