From: clime <clime7@gmail.com>
To: Git List <git@vger.kernel.org>
Subject: tags sorted by their depth, *committerdate, and taggerdate
Date: Wed, 6 May 2020 20:16:35 +0200 [thread overview]
Message-ID: <CAGqZTUujRh-f-83A8NYokbxLGZ-bnvGrtguzJsMdg9EX04NsGg@mail.gmail.com> (raw)
Hello,
I have some very specific requirements to get annotated tags sorted in
a certain way. I would like them to be sorted:
- primarily by their depth (i.e. how far they are from current HEAD
and if they are not reachable then they should not be displayed).
- secondarily by committerdate of the commit they are associated with
- ternarily by taggerdate
Is something like that possible?
Is something like that possible even with git 1.7.1?
If this isn't possible, I am thinking I could write some simple
utility in C to do it but can I rely on certain binary format of
commit and tag objects? Has the format changed at some point since git
1.7.1? Is there a git library I could use for it? Or is the format
documented somewhere?
Thank you very much and sorry for so many questions
clime
next reply other threads:[~2020-05-06 18:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-06 18:16 clime [this message]
2020-05-07 19:42 ` tags sorted by their depth, *committerdate, and taggerdate Jeff King
2020-05-07 19:47 ` clime
2020-05-07 23:56 ` brian m. carlson
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=CAGqZTUujRh-f-83A8NYokbxLGZ-bnvGrtguzJsMdg9EX04NsGg@mail.gmail.com \
--to=clime7@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).