Re: CVS-$Id:$ replacement in git?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes:

> On Fri, 31 Aug 2007, Andreas Hildebrandt wrote:
>
>> But unfortunately, we internally rely heavily on the $Id:$ - expansion 
>> of CVS, that is the ability to have a line like
>> 
>> $Id:$
>> 
>> in the source file expanded to something like
>> 
>> $Id: HINFile.C,v 1.64 2005/02/09 13:02:41 oliver Exp $
>> 
>> The information we want to store in the file would be something like the 
>> SHA1 of the last commit that touched that file, the date when it 
>> happened and the person who commited it.
>
> Please see Documentation/gitattributes.txt, look for 'ident'.

Please do _not_ see that.  ident is about blob object name and
does not have anything to do with the commit, pathname,
committer, nor date, and this is deliberately so.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux