git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nico -telmich- Schottelius <nico-git-20080415@schottelius.org>
To: "Björn Steinbrink" <B.Steinbrink@gmx.de>
Cc: Nico -telmich- Schottelius <nico-git-20080415@schottelius.org>,
	git@vger.kernel.org
Subject: Re: [new tool] git-project-version.sh
Date: Tue, 15 Apr 2008 14:02:12 +0200	[thread overview]
Message-ID: <20080415120212.GB17459@denkbrett.schottelius.org> (raw)
In-Reply-To: <20080415115529.GA3595@atjola.homenet>

[-- Attachment #1: Type: text/plain, Size: 637 bytes --]

Björn Steinbrink [Tue, Apr 15, 2008 at 01:55:29PM +0200]:
> > [...git-project-version.sh...]
> > 
> 
> Hm, except for the three trailing dots that you get with
> --abbrev-commit, you can get the same results with rev-parse
> 
> $ git rev-parse  HEAD
> 8a18e8fe4e0e64222de6b063a976d0fe24955ddb
> 
> $ git rev-parse --short HEAD
> 8a18e8f

Should have known that before... thank you for the hint!

So just forget my previous post :-)

Nico

-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2008-04-15 12:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-15 11:36 [new tool] git-project-version.sh Nico -telmich- Schottelius
2008-04-15 11:55 ` Björn Steinbrink
2008-04-15 12:02   ` Nico -telmich- Schottelius [this message]
2008-04-15 12:01 ` Santi Béjar
2008-04-15 12:52   ` Nico Schottelius
2008-04-15 12:55     ` Elijah Newren
2008-04-15 13:09       ` Nico Schottelius
2008-04-15 12:05 ` Luciano Rocha

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=20080415120212.GB17459@denkbrett.schottelius.org \
    --to=nico-git-20080415@schottelius.org \
    --cc=B.Steinbrink@gmx.de \
    --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).