On 03/03/10 charlesmanning said: > I'm currently using cvs but am moving to git. > > One thing I find very useful with cvs are the $Id and similar macros > which I put in a string and then print out as part of the status > report. > > const char * foo_version="$Id"; > ... > printf("Using version %s\n", foo_version); > > This really helps when supporting someone who might be reporting an > issue experienced with an old version of the code. > > Are there similar things for git?
http://git.wiki.kernel.org/index.php/GitFaq#Does_git_have_keyword_expansion.3F Mike -- Michael P. Soulier <msoul...@digitaltorque.ca> "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein
Description: PGP signature