git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: Daniel Quinlan <danq@brtt.com>
Cc: Daniel Barkalow <barkalow@iabervon.org>, git@vger.kernel.org
Subject: Re: help with git usage
Date: Fri, 9 May 2008 01:07:10 +0200	[thread overview]
Message-ID: <200805090107.11838.jnareb@gmail.com> (raw)
In-Reply-To: <200805072242.m47Mg1o0015578@rs40.luxsci.com>

Dnia czwartek 8. maja 2008 00:41, Daniel Quinlan napisał:

> I'm looking for a way to embed some identifying information about  
> version into compiled programs.  I hasten to add that I am not looking
> to expand RCS-like tags.  Unlike CVS/RCS, git provides a single value
> that characterizes the whole distribution, at least if everything is
> committed. 

Take a look how git, tig and Linux kernel does it with *VERSION* file 
and Makefile (you can take a look at Makefile and GIT-VERSION-GEN via 
gitweb web interface, e.g. at http://git.kernel.org or 
http://repo.or.cz).

In short: use git-describe output.
-- 
Jakub Narebski
Poland

  parent reply	other threads:[~2008-05-08 23:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-29 17:37 help with git usage Daniel Quinlan
2008-04-29 18:07 ` Daniel Barkalow
2008-04-30  7:39   ` Jakub Narebski
2008-05-07 22:41     ` Daniel Quinlan
2008-05-08  0:16       ` Julian Phillips
2008-05-08 20:01       ` Dirk Süsserott
2008-05-08 23:07       ` Jakub Narebski [this message]
2008-04-30 12:02   ` Matt Graham
2008-04-30 13:09     ` Andreas Ericsson
2008-04-30  8:22 ` Richard Quirk
2008-04-30 10:39   ` Jakub Narebski
2008-04-30 11:50     ` Richard Quirk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200805090107.11838.jnareb@gmail.com \
    --to=jnareb@gmail.com \
    --cc=barkalow@iabervon.org \
    --cc=danq@brtt.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).