From: Francis Moreau <francis.moro@gmail.com>
To: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: git describe --contains --abbrev=0 <sha1> doesn't work as expected
Date: Fri, 25 Oct 2013 17:56:26 +0200 [thread overview]
Message-ID: <CAC9WiBhFRRkwiWH9H4BSUdLrktst5e6MaZd0PLwf03seUUq9eg@mail.gmail.com> (raw)
Hello,
Basically doing: git describe --abbrev=0 <sha1> gives the closest tag
from <sha1>
I would expect adding "--contains" option would give the closest tag
containing <sha1> but it seems that --abbrev=0 has no more effect in
that case:
$ git describe --tags --contains --abbrev=0
7f285fa78d4b81b8458f05e77fb6b46245121b4e
v2.6.35-rc5~14^2~4
Is that expected ?
Thanks
--
Francis
reply other threads:[~2013-10-25 15:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CAC9WiBhFRRkwiWH9H4BSUdLrktst5e6MaZd0PLwf03seUUq9eg@mail.gmail.com \
--to=francis.moro@gmail.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).