[Insight-developers] Proposal to change file naming conventions

Brad King brad.king at kitware.com
Wed Apr 20 17:08:17 EDT 2011


On 04/20/2011 04:35 PM, Johnson, Hans J wrote:
> I would contend that ".txx" is so not anything but ITK.

http://www.ehow.com/facts_5656990_file-extension-txx_.html

;)

On 04/20/2011 04:53 PM, Johnson, Hans J wrote:
> 2) move to .hpp (because some do not like having the -impl.h)

2b) move to .hxx, one letter change and consistent with use of .cxx
    for non-template implementation files.  It is known to emacs,
    vim, Xcode, VS, etc.

If we are going to do this then the massive rename commit should do
the renames and modify the files mentioning .txx in their content
at the same time.  In order to keep history connected easily we need
to avoid renaming and modifying a file at the same time.  Therefore
no .txx file should mention itself or other .txx files at the time
of the rename.  This command shows the lines that we will need to
fix ahead of time to avoid mentioning .txx if possible:

$ git grep '\.txx' -- '*.txx' |grep -v ThirdParty

As of commit fc6041b6 there are only 19 of them.

-Brad K


More information about the Insight-developers mailing list