git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: M_ <barra_cuda@katamail.com>
To: git@vger.kernel.org
Cc: Linus Torvalds <torvalds@osdl.org>, Junio C Hamano <junkio@cox.net>
Subject: Re: Add a "git-describe" command
Date: Sun, 25 Dec 2005 20:21:09 +0100	[thread overview]
Message-ID: <200512252021.09481.barra_cuda@katamail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0512241409300.14098@g5.osdl.org>

Alle 23:13, sabato 24 dicembre 2005, Linus Torvalds ha scritto:
>  - it should notice when "git-describe" doesn't exist, and fall back on
>    the old less-than-descriptive behaviour

And something like this?

GIT_VERSION = $(shell (git-describe HEAD || echo "1.0.GIT") | sed 's:refs/tags/::')

  reply	other threads:[~2005-12-25 19:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-24 21:50 Add a "git-describe" command Linus Torvalds
2005-12-24 22:13 ` Linus Torvalds
2005-12-25 19:21   ` M_ [this message]
2005-12-28  0:42   ` Junio C Hamano
2005-12-28  2:05     ` Johannes Schindelin
2005-12-28  0:42   ` [PATCH 1/6] git-describe: really prefer tags only Junio C Hamano
2005-12-28  0:42   ` [PATCH 2/6] git-describe: use find_unique_abbrev() Junio C Hamano
2005-12-28  0:42   ` [PATCH 3/6] git-describe: --tags and --abbrev Junio C Hamano
2005-12-28  0:42   ` [PATCH 4/6] git-describe: still prefer annotated tag under --all and --tags Junio C Hamano
2005-12-28  0:42   ` [PATCH 5/6] git-describe: documentation Junio C Hamano
2005-12-28  0:42   ` [PATCH 6/6] Makefile: use git-describe to mark the git version Junio C Hamano
2005-12-25  1:42 ` Add a "git-describe" command Junio C Hamano
2005-12-25  3:46   ` Linus Torvalds
2005-12-25  9:44     ` Junio C Hamano

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=200512252021.09481.barra_cuda@katamail.com \
    --to=barra_cuda@katamail.com \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    --cc=torvalds@osdl.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).