On Fri, Apr 24, 2009 at 11:49:50AM -0400, Jason Dobies wrote: > My understanding is that the $revision$ (or $Rev$ or $Revision$ ... I've > seen it a number of different ways) would be substituted on commit, but > looking through the git site it's not. I ask because checkstyle enforces > that we have an @version tag, but it's not really doing anything if > these subs don't work. > > Does git actually support this? I can't find anything that says they do > or what the format is. And if it does, I'm not sure what they'd actually > substitute since the sha would be kinda brutal to look at in the java > file. > > If it doesn't, any objects to me taking out the rule that requires the > @version tag in the class header? >
You can, but its frowned upon by the git community. I like this explaination: http://stackoverflow.com/questions/62264/dealing-with-svn-keyword-expansion-with-git-svn > > -- > Jason Dobies > RHN Satellite / Spacewalk > RHCE# 805008743336126 > Freenode: jdob @ #spacewalk #spacewalk-devel > > _______________________________________________ > Spacewalk-devel mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-devel -James
pgpFkffIl2baJ.pgp
Description: PGP signature
_______________________________________________ Spacewalk-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-devel
