[Insight-developers] Renames in ITK history :)

Bill Lorensen bill.lorensen at gmail.com
Tue Aug 10 15:07:15 EDT 2010


Brad,

Can you add this to the wiki?

Bill

On Tue, Aug 10, 2010 at 3:04 PM, Brad King <brad.king at kitware.com> wrote:
> On 08/10/2010 02:52 PM, Matthew McCormick (thewtex) wrote:
>> Yes, very nice.  As a side note, git has some smarts to detect renamed
>> files, but they try to limit the computational burden.  Git can be
>> helped along by using
>>   git mv
>> instead of just using mv.
>
> Actually there is no difference between "git mv" and
>
>  $ mv old new
>  $ git add new
>  $ git rm old
>
> The former (git mv) is just a helper to do all the steps.
> It never records renames explicitly.
>
> As Matt said, Git can follow content that is copied rather
> than renamed.  It just requires extra options to enable the
> behavior (-C) because it adds more computation time and is
> only needed occasionally.
>
> -Brad
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>


More information about the Insight-developers mailing list