Re: Something like $Id$, $Revision$ or $Date$?
- From
Michal Nazarewicz <mina86@tlen.pl>
- Date
- Nov 10, 2008, 01:16 UTC
- Message-ID
- <87hc6gjs7v.fsf@erwin.mina86.com>
- In-Reply-To
- <bd6139dc0811091643m31ff6f49o55a4c581be7f38b2@mail.gmail.com>
"Sverre Rabbelier" <alturin@gmail.com> writes:
Show 9 quoted lines
> On Mon, Nov 10, 2008 at 01:22, Michal Nazarewicz <mina86@tlen.pl> wrote: >> Now, what I need is such feature in GIT. Upon committing I would like >> some magic string (say "$Date$") to be replaced with some value >> identifying uniquely given version of a file (a date of the commit would >> be sufficient). > > Please have a look at the relevant entry in the faq [0]. > > [0] http://git.or.cz/gitwiki/GitFaq#head-4a0afe71a2bb7734777a8b0b345e0308aefdbd40
Thanks for the quick reply (and yes, I can't believe I couldn't find that myself...) but it still lacks one thing that I'd like to have. I would like the "$Id$" sequences to be updated automatically after a commit (ie. without the need to check out). (Besides I would prefer $Date$ more but I can live with $Id$ I guess ;) ).
-- Best regards, _ _ .o. | Liege of Serenly Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Michal "mina86" Nazarewicz (o o) ooo +--<mina86*tlen.pl>--<jid:mina86*jabber.org>--ooO--(_)--Ooo--