Re: CVS-$Id:$ replacement in git?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 31, 2007, 16:33 UTC
- Message-ID
- <Pine.LNX.4.64.0708311732580.28586@racer.site>
- In-Reply-To
- <46D82DC3.2030203@bioinf.uni-sb.de>
Hi,
On Fri, 31 Aug 2007, Andreas Hildebrandt wrote:
Show 12 quoted lines
> 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'.
Hth, Dscho