[Haifux] Git Lecture discussion

Oron Peled oron at actcom.co.il
Tue Feb 5 11:19:22 MSK 2008


On Tuesday, 5 בFebruary 2008, Ohad Lutzky wrote:
> Regarding keyword substituion: It turns out that Linus thinks it's a
> horrible idea: http://kerneltrap.org/mailarchive/git/2006/10/9/223932

His argument is that it may destroy binary files.

This is bogus since keyword-substitution is *off* by default.
It will occur only for files that were explicitly marked for
substitution. For example in subversion:

       svn propset svn:keywords "Id Author Revision" *.h *.c

As a substitute (pun intended) for the lack in this feature he gives
a hand crafted, build system dependent, manual (i.e: error prone) method.

What a lame excuse.

[the .sig came out right this time...]

-- 
Oron Peled                             Voice/Fax: +972-4-8228492
oron at actcom.co.il                  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

Linux is a trademark of Linus Torvalds in the USA and other countries.



More information about the Haifux mailing list