From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/eselect:master commit in: /
Date: Tue, 20 May 2014 06:53:48 +0000 (UTC) [thread overview]
Message-ID: <1400568724.b5d07a665842fdab5865ce1620f0ddb7cc48d067.ulm@gentoo> (raw)
commit: b5d07a665842fdab5865ce1620f0ddb7cc48d067
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue May 20 06:52:04 2014 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue May 20 06:52:04 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/eselect.git;a=commit;h=b5d07a66
Use "git describe" in configure.
* configure.ac: Replace "git rev-parse" by "git describe", now
that git-r3.eclass supports it (bug 489100).
---
ChangeLog | 5 +++++
configure.ac | 8 ++++----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 143edc8..d5ddaef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-05-20 Ulrich Müller <ulm@gentoo.org>
+
+ * configure.ac: Replace "git rev-parse" by "git describe", now
+ that git-r3.eclass supports it (bug 489100).
+
2014-03-20 Ulrich Müller <ulm@gentoo.org>
* doc/user-guide.txt: Mention the "unset" action also here.
diff --git a/configure.ac b/configure.ac
index 6379db0..63081e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -78,11 +78,11 @@ AC_SUBST(EPREFIX)
AC_MSG_CHECKING([whether building from git])
EXTRAVERSION=""
if test -d ${GIT_DIR:-.git}; then
- GITREV=`git rev-parse --short HEAD`
- if test x$GITREV != x; then
- EXTRAVERSION="-git-$GITREV"
+ COMMIT=`git describe --always HEAD`
+ if test x$COMMIT != x; then
+ EXTRAVERSION=" (commit $COMMIT)"
fi
- AC_MSG_RESULT([yes${GITREV:+, at revision $GITREV}])
+ AC_MSG_RESULT([yes$EXTRAVERSION])
else
AC_MSG_RESULT(no)
fi
next reply other threads:[~2014-05-20 6:53 UTC|newest]
Thread overview: 100+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-20 6:53 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-18 6:05 [gentoo-commits] proj/eselect:master commit in: / Ulrich Müller
2024-11-18 6:05 Ulrich Müller
2023-09-13 18:20 Ulrich Müller
2023-09-13 18:20 Ulrich Müller
2023-08-09 15:37 Ulrich Müller
2023-08-09 15:37 Ulrich Müller
2023-06-12 16:24 Ulrich Müller
2023-06-12 16:24 Ulrich Müller
2023-06-07 7:29 Ulrich Müller
2023-06-07 7:29 Ulrich Müller
2023-06-06 18:52 Ulrich Müller
2023-06-06 18:52 Ulrich Müller
2023-03-20 17:25 Ulrich Müller
2023-03-20 17:25 Ulrich Müller
2023-03-15 11:04 Ulrich Müller
2023-02-27 17:40 Ulrich Müller
2022-01-19 3:54 Ulrich Müller
2022-01-19 3:54 Ulrich Müller
2022-01-08 17:14 Ulrich Müller
2022-01-08 17:14 Ulrich Müller
2021-12-28 9:41 Ulrich Müller
2021-12-28 9:41 Ulrich Müller
2021-02-19 13:33 Ulrich Müller
2020-12-16 12:49 Ulrich Müller
2020-12-16 12:49 Ulrich Müller
2019-11-28 19:23 Ulrich Müller
2019-11-28 19:23 Ulrich Müller
2019-11-28 13:41 Ulrich Müller
2019-11-28 13:41 Ulrich Müller
2019-09-04 10:40 Ulrich Müller
2019-09-04 10:40 Ulrich Müller
2019-09-04 10:40 Ulrich Müller
2019-09-02 11:28 Ulrich Müller
2019-09-02 10:39 Ulrich Müller
2019-02-17 7:52 Ulrich Müller
2019-02-17 7:52 Ulrich Müller
2018-05-30 16:01 Ulrich Müller
2018-05-30 16:01 Ulrich Müller
2018-01-24 10:03 Ulrich Müller
2018-01-24 10:03 Ulrich Müller
2018-01-09 9:08 Ulrich Müller
2018-01-09 9:08 Ulrich Müller
2017-12-25 11:00 Ulrich Müller
2017-12-25 11:00 Ulrich Müller
2017-12-25 11:00 Ulrich Müller
2017-09-17 21:41 Ulrich Müller
2017-03-22 5:26 Ulrich Müller
2017-03-22 5:26 Ulrich Müller
2016-12-10 9:33 Ulrich Müller
2016-12-10 9:33 Ulrich Müller
2016-10-30 9:17 Ulrich Müller
2016-10-30 9:17 Ulrich Müller
2016-06-17 18:42 Ulrich Müller
2016-06-17 18:42 Ulrich Müller
2016-06-01 19:50 Ulrich Müller
2015-08-22 14:49 Ulrich Müller
2015-08-13 10:07 Ulrich Müller
2015-08-13 10:07 Ulrich Müller
2015-08-13 10:07 Ulrich Müller
2015-01-24 12:27 Ulrich Müller
2015-01-24 12:27 Ulrich Müller
2015-01-24 12:27 Ulrich Müller
2015-01-17 23:52 Ulrich Müller
2014-09-01 16:55 Ulrich Müller
2014-09-01 16:55 Ulrich Müller
2014-05-24 17:51 Ulrich Müller
2014-05-24 17:51 Ulrich Müller
2014-05-20 8:03 Ulrich Müller
2014-05-20 7:46 Ulrich Müller
2014-03-20 14:15 Ulrich Müller
2014-03-20 14:15 Ulrich Müller
2014-02-15 0:00 Ulrich Müller
2014-02-15 0:00 Ulrich Müller
2013-12-07 13:28 Ulrich Müller
2013-10-27 18:40 Ulrich Müller
2013-10-27 14:51 Ulrich Müller
2013-08-28 6:11 Ulrich Mueller
2013-08-28 6:11 Ulrich Mueller
2013-08-28 6:11 Ulrich Mueller
2013-08-08 20:59 Ulrich Mueller
2013-07-16 16:08 Ulrich Mueller
2013-07-16 16:08 Ulrich Mueller
2013-07-14 8:19 Ulrich Mueller
2013-07-11 6:14 Ulrich Mueller
2013-07-06 13:17 Ulrich Mueller
2013-07-06 13:17 Ulrich Mueller
2013-06-22 15:58 Ulrich Mueller
2013-06-22 15:58 Ulrich Mueller
2013-01-06 19:09 Ulrich Mueller
2013-01-05 15:35 Ulrich Mueller
2012-10-23 8:40 Ulrich Mueller
2012-10-23 8:40 Ulrich Mueller
2012-10-13 9:16 Ulrich Mueller
2012-10-13 9:16 Ulrich Mueller
2012-10-13 9:16 Ulrich Mueller
2012-09-14 22:41 Ulrich Mueller
2012-09-13 17:11 Ulrich Mueller
2012-09-12 22:09 Ulrich Mueller
2012-06-27 17:07 Ulrich Mueller
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=1400568724.b5d07a665842fdab5865ce1620f0ddb7cc48d067.ulm@gentoo \
--to=ulm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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