Re: Something like $Id$, $Revision$ or $Date$?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jakub Narebski <jnareb@...>
Cc: <git@...>
Date: Monday, November 10, 2008 - 4:00 pm

Jakub Narebski <jnareb@gmail.com> writes:


Yes, but it forces me to do some voodoo magic (ie. checkout) to get the
Id in the file, ;) like so:

#v+
$ echo '$Id$' >bar && git add bar && git commit -m 'Added bar' && cat bar
Created commit d49d436: Added bar
 1 files changed, 1 insertions(+), 0 deletions(-)
 create mode 100644 bar
$Id$
$ rm bar && git checkout bar && cat bar
$Id: 055c8729cdcc372500a08db659c045e16c4409fb $
#v-

But never mind, since it seems hard to accomplish in git, I'll have to
learn to live without it. ;)

=2D-=20
Best regards,                                         _     _
 .o. | Liege of Serenly Enlightened Majesty of      o' \,=3D./ `o
 ..o | Computer Science,  Michal "mina86" Nazarewicz   (o o)
 ooo +--<mina86*tlen.pl>--<jid:mina86*jabber.org>--ooO--(_)--Ooo--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Something like $Id$, $Revision$ or $Date$?, Michal Nazarewicz, (Mon Nov 10, 1:38 pm)
Re: Something like $Id$, $Revision$ or $Date$?, Jakub Narebski, (Mon Nov 10, 2:03 pm)
Re: Something like $Id$, $Revision$ or $Date$?, Michal Nazarewicz, (Mon Nov 10, 4:00 pm)
Re: Something like $Id$, $Revision$ or $Date$?, Jakub Narebski, (Mon Nov 10, 4:17 pm)
Re: Something like $Id$, $Revision$ or $Date$?, Francis Galiegue, (Mon Nov 10, 4:24 pm)
Re: Something like $Id$, $Revision$ or $Date$?, Jakub Narebski, (Mon Nov 10, 4:32 pm)
Re: Something like $Id$, $Revision$ or $Date$?, Brian Gernhardt, (Mon Nov 10, 4:58 pm)